About 14,000,000 results
Open links in new tab
  1. How can I get the size of a MySQL database? - Stack Overflow

    Suppose the target database is called "v3". Run this query, and you'll probably get what you're looking for: ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" This query comes from the MySQL forums, where there are more comprehensive instructions available. @Vidz are you using InnoDB engine.

  2. How to Check MySQL Database - GeeksforGeeks

    Jan 31, 2024 · MySQL allows us to create a table in the database mainly in two ways: MySQL Command Line Client; MySQL Workbench; To get the size of a MySQL database, you can use various methods, including SQL queries or checking the file system. Here are a few ways to accomplish this: Method 1: Using SQL Query

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

    Oct 26, 2022 · SHOW DATABASES WHERE `Database` LIKE '<yourDatabasePrefixHere>%' or SHOW DATABASES LIKE '<yourDatabasePrefixHere>%'; Example: SHOW DATABASES WHERE `Database` LIKE 'foobar%'

  4. How to view table and database entries from mysql workbench

    Aug 25, 2013 · I've been using php and mysql workbench. Now, I have written the correct necessary code to create/insert into databases and tables. I have also written code to view and print those entries from a web browser.

  5. How to Show a List of All Databases in MySQL - GeeksforGeeks

    Jul 8, 2024 · In this article, you will discover how to list all the databases in MySQL along with some examples. The MySQL, SHOW DATABASES is used to list the databases that are within the MySQL environment. It prints all the databases including the default system databases.

  6. 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 the list of databases in MySQL using both the command-line interface (CLI) and MySQL Workbench.

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

    Mar 11, 2025 · To find your current database in MySQL Workbench, follow these steps: Open MySQL Workbench and connect to your server. In the left sidebar, you’ll see a section labeled “SCHEMAS.” The active database will be highlighted or …

  8. 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 command-line client, MySQL Workbench, phpMyAdmin, or the MySQL shell.

  9. Show All Databases in MySQL: Easy Ways - MySQLCode

    Sep 24, 2022 · In this tutorial, we will see how can we list all the databases in MySQL using CLI as well as the MySQL workbench. There are multiple ways you can list all the databases using CLI. We will see all the available methods out there. So, let’s get started! Also read: MySQL Show Users – A Complete Guide. List Databases using CLI

  10. 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.

  11. Some results have been removed