寻找mysql的data文件夹得方式

来源:互联网 发布:阿里云 web 直传 ajax 编辑:程序博客网 时间:2024/05/16 04:58

找到自己的mysql数据库的安装位置,如下

C:\Program Files\MySQL\MySQL Server 5.1,在它里面有个的my.ini文件,寻找如下行:

 

[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

原创粉丝点击