MySQL-Find the unknown where the database resides

mysql -h IP -p Port -u user -p password

        Here,I just input " mysql -u root -p "

        and input my password according to its prompts.

 

        Then, we find the folder where the icon is located.

 

        Right click on the icon Properties and you can see the goal.

 

        We can get the path where the file called "my.ini" saved.

        C:\ProgramData\MySQL\MySQL Server 8.0\my.ini

         Finally, you can open this file according to the path that you find just now.

        The file have many information, you will find the datadir after you open it. 

 

Guess you like

Origin blog.csdn.net/m0_72572822/article/details/132063782