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