ults-file=/u01/my3306/my.cnf --datadir=/u01/my3306/data --user=mysql
chmod -R 777 /u01/my3306/data/
chmod -R 777 /u01/my3306/log/iblog/
chmod -R 777 /u01/my3306/log/binlog/
2.启动MySQL脚本
sh start3306.sh
mysqld_safe --defaults-file=/u01/my3306/my.cnf --user=mysql &
3.登录MySQL脚本
sh logon3306.sh
mysql -h127.0.0.1 -uroot
?
?
?
|