标签:
./scripts/mysql_install_db --user=mahao01 --basedir=/home/mahao01/local/mysql --datadir=/home/mahao01/local/mysql/data/ #启动: ./bin/mysqld_safe --defaults-file=/home/mahao01/local/mysql/conf/my.cnf #加密: ./bin/mysqladmin -u root password ‘123456‘ -S /home/mahao01/local/mysql/logs/mysql.sock
标签:
原文地址:http://www.cnblogs.com/allenhaozi/p/4506965.html