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.
- Open Workbench
- Open the appropriate MySQL connection (the one you used to create the database)
- Open the "Management" tab in the Navigator (left pane)
- Open "Server Status" under "Management" to view information about your MySQL server
- Note the "Data Directory" path on that page
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.
C:\ProgramData\MySQL\mysql server version\data
–
Abydos C:\Program Files\MySQL\MySQL Server vertison` here you will find
my.ini` file open this file and find the data directory location with name datadir
. –
Abydos You likely didn't satisfy one of the requirements for "workbench" to be installed. Uninstall MySQL, and start the install process over. When you get a prompt something like "all of the requirements for the following programs have NOT been met"...check out what those requirements are. Usually something like a visual studio package. Go get that package, install it. Then start the MySQL install over again.
© 2022 - 2024 — McMap. All rights reserved.