在mysql安装之后,如何找到自己的mysql数据库的安装位置,本文将介绍详细的解决方法,需要的朋友可以参考下
找到自己的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
