首页 > 数据库 > MySQL > 正文

mysql data文件夹位置查找

2024-07-24 13:01:37
字体:
来源:转载
供稿:网友

找到自己的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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表