Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 26 paź 2022 · Just use mysql_query (or mysqli_query, even better, or use PDO, best of all) with: SELECT DATABASE();

  2. 12 gru 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. Selecting a database during login. There is another way to select a database in MySQL. In this method, you can specify the name of the database while logging into the MySQL server using the Command Line tool by mentioning the -D flag followed by the database name.

  4. 26 sty 2024 · To select a database to work with, use the USE command followed by the database name: USE database_name; Be sure to replace database_name with the actual name of the database you wish to work with.

  5. SQL query to select a database in MySQL is USE database_name; When logged in to mysql terminal, select database to work with the tables in that database.

  6. This tutorial shows you various ways to select a MySQL database via the mysql program and MySQL Workbench application by using the USE statement.

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

  1. Ludzie szukają również