FC4装上MySQL启动服务失败?? 一些目录也没创建.
我在FC4上按顺序安装以下:
MySQL-devel-5.0.18-0.i386.rpm
MySQL-shared-5.0.18-0.i386.rpm
MySQL-client-5.0.18-0.i386.rpm
MySQL-server-5.0.18-0.i386.rpm
用rpm -ivh和rpm -Uvh都试过了,在装完MySQL-server-5.0.18-0.i386.rpm后,启动服务失败
发现/var/run/下面的myslqd也没创建
rpm -qa | grep SQL 发现4个包均装上
会是什么原因呢?
第一次调试SQL,望请各位解答一下,谢谢!!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
顶一下了,重装了一遍FC4和重新下载了一遍MySQL还是这个样子
[root@localhost patch2]#
[root@localhost patch2]#
[root@localhost patch2]# rpm -qa | grep MySQL
[root@localhost patch2]#
[root@localhost patch2]#
[root@localhost patch2]#
[root@localhost patch2]#
[root@localhost patch2]#
[root@localhost patch2]# ls
dmidecode-2.6-1.14.i386.rpm MySQL-devel-5.0.18-0.i386.rpm net-snmp-libs-5.2.1-12.i386.rpm vsftpd-2.0.3-1.i386.rpm
ins.sh MySQL-server-5.0.18-0.i386.rpm net-snmp-utils-5.2.1-12.i386.rpm xinetd-2.3.13-6.i386.rpm
lm_sensors-2.8.8-5.i386.rpm MySQL-shared-5.0.18-0.i386.rpm tftp-0.40-6.i386.rpm
MySQL-client-5.0.18-0.i386.rpm net-snmp-5.2.1-12.i386.rpm tftp-server-0.40-6.i386.rpm
[root@localhost patch2]# rpm -Uvh MySQL-devel-5.0.18-0.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [100%]
[root@localhost patch2]# rpm -Uvh MySQL-s
MySQL-server-5.0.18-0.i386.rpm MySQL-shared-5.0.18-0.i386.rpm
[root@localhost patch2]# rpm -Uvh MySQL-server-5.0.18-0.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
060621 15:56:31 [Warning] Asked for 196608 thread stack, but got 126976
060621 15:56:31 [Warning] Asked for 196608 thread stack, but got 126976
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 localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting MySQL...................................[FAILED]
[root@localhost patch2]#
我用 rpm -q MySQL
提示not installed
但却看到rpm -qa | grep SQL都装上了.....