I created a database in MySQL Workbench, but I can't find where it is located.
I searched the xampp/mysql
folder and found a db.opt
folder, but nothing else.
I also checked programdata/mysql
and programsX86/mysqlworkbench
and found nothing.
Its a MySQL database configuration file. This is the main configuration file of MySQL server. This is found in the root directory where the installation is done. In this file, the user can find the location of data folder.
To view the database created on MySQL Workbench, navigate to Database > Connect to Database . Choose an existing connection to connect to MySQL Server or create a new one. The database created will be as shown in the screenshot below.
This is where your recently created database lives.
If you are using windows, you can found your mysql data in below directory. Suppose you have installed your mysql server in Programming files under C directory then your mysql data path should be.
C:\ProgramData\MySQL\mysql server version\data
In above directory you will get all created database folders with files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With