About 6,460,000 results
Open links in new tab
  1. How to Show a List of All Databases in MySQL - GeeksforGeeks

    Jul 8, 2024 · In MySQL, the SHOW TABLES command is a powerful tool used to list the tables within a specific database. This command provides a convenient way to view the tables that …

  2. How to get database structure in MySQL via query?

    Feb 8, 2023 · To get the whole database structure as a set of CREATE TABLE statements, use mysqldump: mysqldump database_name --compact --no-data For single tables, add the table …

  3. 5.4 Getting Information About Databases and Tables - MySQL

    To find out which database is currently selected, use the DATABASE() function: If you have not yet selected any database, the result is NULL. To find out what tables the default database …

  4. MySQL SHOW DATABASES: List All Databases in MySQL - MySQL

    In this tutorial, you will learn to list databases in the MySQL database server using the MySQL SHOW DATABASES command.

  5. How to show existing databases in MySQL? - Tutorial Kart

    This is useful when you need to check existing databases, verify successful database creation, or simply explore the available database structures. In this tutorial, we will explain how to display …

  6. How to Check Database in MySQL - Tpoint Tech - Java

    Mar 17, 2025 · Steps to check the database contained in MySQL: Step 1: First of all, we will connect to the database. For that, open any MySQL client application, such as the MySQL …

  7. How to Show the Current Database in MySQL - Delft Stack

    Mar 11, 2025 · One of the simplest ways to show the current database in MySQL is by using the SELECT DATABASE() command. This command returns the name of the currently selected …

  8. How to Check MySQL Database - GeeksforGeeks

    Jan 31, 2024 · MySQL allows us to create a table in the database mainly in two ways: To get the size of a MySQL database, you can use various methods, including SQL queries or checking …

  9. Check If a MySQL Database Exists - Online Tutorials Library

    The schema_name command is used to check if a MySQL database exists or not. The syntax of this command is as follows − select schema_name from information_schema.schemata where …

  10. mysql - How to determine which database is selected - Stack Overflow

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

  11. Some results have been removed
Refresh