mysql data folder location lookup

  • 2020-05-14 05:14:45
  • OfStack

Find your own mysql database installation location, as follows
C:\Program Files\MySQL\MySQL Server 5.1, in which there is an my.ini file, look for the following lines:
[mysqld]

 
# The TCP/IP Port the MySQL Server will listen on 
port=3306 
#Path to installation directory. All paths are usually resolved relative to this. 
basedir="C:/Program Files/MySQL/MySQL Server 5.1/" 
#Path to the database root 
datadir="C:/ProgramData/MySQL/MySQL Server 5.1/Data/" 
# The default character set that will be used when a new schema or table is 


Related articles: