开发者社区> 问答> 正文

linux平台安装Mysql报错

安装过程:
[root@ibt syssoft]# rpm -ivh MySQL-server-5.1.56-1.glibc23.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]

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 ibt.com password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

Starting MySQL.Manager of pid-file quit without updating file.[FAILED]

简单安装都没有通过,报错 Starting MySQL.Manager of pid-file quit without updating file.[FAILED]
这是什么原因

[root@ibt ~]# uname -a
Linux ibt.com 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

展开
收起
a123456678 2016-06-12 16:33:10 2260 0
1 条回答
写回答
取消 提交回答
  • 这个时候我们需要find /usr -name mangager和mysqld_safe,找到这两个文件后, mkdir /var/lib/bin(这个bin文件不存在),然后将这两个文件cp到这个bin文件里面。

    之后再运行service mysql restart就OK了

    2019-07-17 19:34:30
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载