About 14,800,000 results
Open links in new tab
  1. How do I find the name of database MySQL - Stack Overflow

    Sep 13, 2013 · What do you want to find, host name or database name? The question title and the question body both imply something different. The name of the selected database can be retrieved by select DATABASE(); .

  2. DATABASE () – Get the Current Database Name in MySQL

    Dec 12, 2021 · In MySQL, DATABASE() is a built-in function that returns the default (current) database name. The result is returned as a string in the utf8 character set. If there is no default database, it returns NULL .

  3. Understanding MySQL: What is a Database Name and Its …

    Mar 12, 2025 · In MySQL, a database name is a unique identifier assigned to each database, allowing the system to differentiate between multiple databases hosted on the same server. Think of it as the title given to your filing cabinet — it lets you …

  4. mysql - What is the difference between database name and username

    Sep 19, 2017 · The database name is the name of the database and the username is the name of the user that is connected to the database. e.g. John Smith could connect to a database called Database1. Database1 would be the database name and John Smith would be the username.

  5. 5.4 Getting Information About Databases and Tables - MySQL

    The name of the column in the output produced by this statement is always Tables_in_db_name, where db_name is the name of the database. See Section 15.7.7.40, “SHOW TABLES Statement” , for more information.

  6. MySQL DATABASE() Function - W3Schools

    The DATABASE() function returns the name of the current database. If there is no current database, this function returns NULL or "". Syntax

  7. What is MySQL database name? - Adcod.com

    What is the database name? The database name is the name of the database and the username is the name of the user that is connected to the database. e.g. John Smith could connect to a database called Database1.

  8. How to check the current database name using MySQL? (mysql

    Dec 11, 2024 · To check the current database name in MySQL, you can use the following methods: 1. Using the DATABASE() Function. The simplest way to find out the current database name is by using the DATABASE() function. This function returns the name of the currently selected database. Here’s how to use it:

  9. 5.3 Creating and Using a Database - MySQL

    The mysql database describes user access privileges. The ... where your_mysql_name is the MySQL user name assigned to you and your_client_host is the host from which you connect to the server. PREV HOME UP NEXT . Related Documentation. MySQL 9.3 Release Notes. Download this Manual ...

  10. Display Database, Table, and Column Information - MySQL

    The output displays only the names of those databases, tables, or columns for which you have some privileges. If the last argument contains shell or SQL wildcard characters (*, ?, %, or _), only those names that are matched by the wildcard are shown.If a database name contains any underscores, those should be escaped with a backslash (some Unix shells require two) to get a list of the proper ...

  11. Some results have been removed
Refresh