当前位置: 技术问答>linux和unix
linux系统下mysql安装问题/rpm
来源: 互联网 发布时间:2016-03-09
本文导语: 希望高手帮帮忙,先谢谢拉! [root@MMAPLinuxEnt4 /]# etc/init.d/mysql stop MySQL manager or server PID file could not be found! [FAILED] [root@MMAPLinuxEnt4 /]# etc/init.d/mysql start Starting MySQLCouldn't find MySQL manager or server [FA...
希望高手帮帮忙,先谢谢拉!
[root@MMAPLinuxEnt4 /]# etc/init.d/mysql stop
MySQL manager or server PID file could not be found! [FAILED]
[root@MMAPLinuxEnt4 /]# etc/init.d/mysql start
Starting MySQLCouldn't find MySQL manager or server [FAILED]
[root@MMAPLinuxEnt4 local]# rpm -ivh MySQL-server-5.0.22-0.i386.rpm
warning: MySQL-server-5.0.22-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
080326 20:15:15 [Warning] Asked for 196608 thread stack, but got 126976
/usr/sbin/mysqld: Can't read dir of '/tmp/' (Errcode: 13)
080326 20:15:15 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=MMAPLinuxEnt4-bin' to avoid this problem.
080326 20:15:15 [Warning] Asked for 196608 thread stack, but got 126976
/usr/sbin/mysqld: Can't read dir of '/tmp/' (Errcode: 13)
080326 20:15:15 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=MMAPLinuxEnt4-bin' to avoid this problem.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h MMAPLinuxEnt4 password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL