Mysql On Centos5

操作系统安装的时候选择的是使用系统自带的,版本为5.0.22。
1、目录位置
mysql运行程序位置:/usr/bin
配置文件位置:/etc/my.cnf
字符集配置目录:/usr/share/mysql/
语言文件位置:/usr/share/mysql/english/
数据文件默认位置:/var/lib/mysql
2、添加本地开发用户
GRANT ALL PRIVILEGES ON *.* TO root@”%” IDENTIFIED BY ‘123321’ ;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.