开发者社区> 问答> 正文

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`

展开
收起
落地花开啦 2016-02-07 17:49:36 2580 0
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    这个时候我们需要find /usr -name mangager和mysqld_safe,找到这两个文件后, mkdir /var/lib/bin(这个bin文件不存在),然后将这两个文件cp到这个bin文件里面。
    之后再运行service mysql restart就OK了

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

相关电子书

更多
搭建电商项目架构连接MySQL 立即下载
搭建4层电商项目架构,实战连接MySQL 立即下载
PolarDB MySQL引擎重磅功能及产品能力盛大发布 立即下载