日期:2014-05-16 浏览次数:20980 次
[root@AY1403221420500563ebZ ~]# /etc/init.d/mysql start
Starting MySQL. SUCCESS!
[root@AY1403221420500563ebZ ~]# mysql -uroot
mysql: unknown variable 'pid-file=/usr/local/mysql/data/mysql.pid'
[root@AY1403221420500563ebZ ~]# cd /usr/local/mysql
[root@AY1403221420500563ebZ mysql]# bin/mysql -h127.0.0.1
bin/mysql: unknown variable 'pid-file=/usr/local/mysql/data/mysql.pid'
[root@AY1403221420500563ebZ mysql]# mysql -uroot -p
mysql: unknown variable 'pid-file=/usr/local/mysql/data/mysql.pid'
[root@AY1403221420500563ebZ mysql]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/cmake-2.8.10.2/bin:/usr/local/mysql/bin:/usr/local/mysql/lib:/root/bin
[root@AY1403221420500563ebZ mysql]#