我自己用mysql源代码制作了一个rpm包后,把msyql安装在/usr/local/mysql下面,在我做完以下这些步骤后:shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> cd /usr/local/mysql
shell> bin/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql var
shell> chgrp -R mysql .我键入命令:
shell> bin/mysqld_safe --user=mysql &
但出现:Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/localhost.localdomain.pid
060719 11:19:58 mysqld ended为什么又 starting 接着又stoping的呢。结果是启动不了数据库!!
shell> cd /usr/local/mysql
shell> bin/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql var
shell> chgrp -R mysql .我键入命令:
shell> bin/mysqld_safe --user=mysql &
但出现:Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/localhost.localdomain.pid
060719 11:19:58 mysqld ended为什么又 starting 接着又stoping的呢。结果是启动不了数据库!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货