首頁 >資料庫 >mysql教程 >寻找mysql的data文件夹的方式_MySQL

寻找mysql的data文件夹的方式_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-01 13:38:131120瀏覽

bitsCN.com


寻找mysql的data文件夹的方式

 

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

bitsCN.com
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn