`

Starting MySQL.........[FAILED]

 
阅读更多

[root@localhost src]# rpm -ivh MySQL-*.rpm
Preparing...                ########################################### [100%]
   1:MySQL-shared           ########################################### [ 25%]
   2:MySQL-client           ########################################### [ 50%]
   3:MySQL-devel            ########################################### [ 75%]
   4:MySQL-server           ########################################### [100%]
071129 23:00:18 [Warning] Asked for 196608 thread stack, but got 126976
071129 23:00:18 [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 http://shop.mysql.com
Starting MySQL...................................[FAILED]


检查原因,原来SELINUX作怪

解决办法

进/etc/selinux  然后vi config  把SELINUX=enforcing 这一行
改为:SELINUX=disabled
然后保存,退出。:wq
这时记得一定要把电脑重启。然后再把以前装的MYSQL删除重装下。

[root@localhost src]# rpm -ivh MySQL-*.rpm
Preparing...                ########################################### [100%]
   1:MySQL-shared           ########################################### [ 25%]
   2:MySQL-client           ########################################### [ 50%]
   3:MySQL-devel            ########################################### [ 75%]
   4:MySQL-server           ########################################### [100%]
071129 23:00:18 [Warning] Asked for 196608 thread stack, but got 126976
071129 23:00:18 [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 http://shop.mysql.com
Starting MySQL[确定]

分享到:
评论

相关推荐

    Starting MySQL.Manager of pid-file quit without updating file.[FAILED]的解决方法

    删除mysql的日志文件,重启mysql发现错误:Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 网上有不少这个原因的解释,但是都不是我想说的。我要说的原因其实很白痴:data/mysql-bin....

    MySQL无法启动的解决办法

    Starting MySQL..^[[A.................................................................................................. ERROR! The server quit without updating PID file &#40;/disk/mysql/www.pid&#41;.

    MySQL下常见的启动失败与备份失败问题的解决教程

    启动失败 重启服务器后–&gt;重启应用服务(Confluence)–&gt;报错,数据库连接失败(mysql设置了开机自启动)–&gt;查看mysql数据库状态: [root@fisheye ~]# ps -ef | grep mysql ...Starting MySQL.............. ER

    MySQL提示:The server quit without updating PID file问题的解决办法

    用df命令查了下,果然磁盘满了,因为当时分区采用系统默认,不知道为什么不能自动扩容!以后在处理这个问题!如图所示: 代码如下:[root@snsgou ~]# df文件系统 1K-块 已用 可用 已用% 挂载点/dev/mapper/vg_...

    安装Percona XtraDB集群 FOR CentOS

    Percona Server 是 MySQL 的衍生版,专注于 Linux/BSD 下 MySQL 数据库服务器的改进, 在功能和性能上较 MySQL有着显著的提升。Percona Server 的使用和 MySQL 完全一致,你完全可以把它当成是 MySQL 来使用。

    CentOS安装mysql The server quit without updating PID file问题

    CentOS安装mysql The server quit without updating PID file问题背景描述部署步骤问题来了网上解决办法汇总最终解决办法 背景描述 最近接到个任务在CentOS部署一套5.7的mysql服务,之前没有在linux上安装过myslq的...

    linux下mysql提示mysql deamon failed to start错误的解决方法

    有台linux服务器,系统为centos系统. 网站突然连接不上数据库,于是朋友直接重启... Starting mysqld: [FAILED] 查看mysqld的log文件 #less /var/log/mysqld.log /usr/libexec/mysqld: Can’t change dir to ‘XXX’ (Er

    MySQL Daemon failed to start错误解决办法

    主要介绍了MySQL Daemon failed to start错误解决办法的相关资料,需要的朋友可以参考下

    解决MySQL因不能创建 PID 导致无法启动的方法

    MySQL 启动报错信息如下: Starting mysqld (via systemctl): Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe...

    磁盘已满造成的mysql启动失败问题分享

    突然发现mysql死活都启不起来了: 代码如下:/etc/init.d/mysql restartStopping MySQL: [FAILED]Timeout error occurred trying to start MySQL Daemon.Starting MySQL: [FAILED]kill了不行,无奈之下再用 代码如下...

    nacos oracle

    nacos oracle mysql 版

    CentOS 7下MySQL服务启动失败的快速解决方法

    Starting mysqld (via systemctl): Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. [FAILED] ...

    端口查看工具

    starting CurrPorts. * Version 1.50: o Added 'Display Port In Address' option. When this option is checked, the addresses will be displayed in 'address:port' format. * Version 1.48: o Fixed the ...

    ambari报错解决

    报错1: Using python /usr/bin/python ...REASON: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property server.jdbc.driver.path=[path/to/c

Global site tag (gtag.js) - Google Analytics