、[root@localhost bin]# ./mysqld_safe –skip-grant-tables出现以下信息:
Installing MySQL system tables…090724 12:05:13 [Warning] option ‘max_join_size’: unsigned value 18446744073709551615 adjusted to 4294967295090724 12:05:13 [Warning] option ‘max_join_size’: unsigned value 18446744073709551615 adjusted to 4294967295ERROR: 1062; Duplicate entry ‘localhost-’ for key 1090724 12:05:13 [ERROR] Aborting
090724 12:05:13 [Note] /usr/local/mysql5/libexec/mysqld: Shutdown complete
Installation of system tables failed!
Examine the logs in /var/lib/mysql5 for more information.You can try to start the mysqld daemon with:/usr/local/mysql5/libexec/mysqld –skip-grant &and use the command line tool/usr/local/mysql5/bin/mysql to connect to the mysqldatabase and look at the grant tables:http://www.knowsky.com/shell> /usr/local/mysql5/bin/mysql -u root mysqlmysql> show tables
Try ‘mysqld –help’ if you have problems with paths. Using –loggives you a log in /var/lib/mysql5 that may be helpful.
The latest information about MySQL is available on the web athttp://www.mysql.comPlease consult the MySQL manual section: ‘Problems running mysql_install_db’,and the manual section that describes problems on your OS.Another information source is the MySQL email archive.Please check all of the above before mailing us!And if you do mail us, you MUST use the /usr/local/mysql5/bin/mysqlbug script!
2、[root@localhost bin]# /usr/local/mysql5/libexec/mysqld –skip-grant &出现以下信息:
[1] 6633[root@localhost bin]# 090724 12:05:34 [Warning] option ‘max_join_size’: unsigned value 18446744073709551615 adjusted to 4294967295090724 12:05:34 [Warning] option ‘max_join_size’: unsigned value 18446744073709551615 adjusted to 4294967295090724 12:05:34 [ERROR] Fatal error: Please read “Security section of the manual to find out how to run mysqld as root!
090724 12:05:34 [ERROR] Aborting
090724 12:05:34 [Note] /usr/local/mysql5/libexec/mysqld: Shutdown complete
[1]+ Exit 1 /usr/local/mysql5/libexec/mysqld –skip-grant
解决办法:在/etc/my.conf中的mysqld这一节中加入:user=mysql
http://www.086php.com/index.php/rcd-2/566
相关文章:
1. MySQL安装提示配置信息已损坏请联系技术人员2. Linux CentOS7安装Oracle11g的超完美新手教程3. Oracle19c安装与基本配置教程(超详细!)4. SQL Server 2019完整安装教程(最新最详细!)5. Oracle 11g+windows 环境下Ecology7系统安装过程6. 安装SQL Server2019详细教程(推荐!)7. SQL Server2019安装的详细步骤实战记录(亲测可用)8. MySQL5.73 root用户密码修改方法及ERROR 1193、ERROR1819与ERROR1290报错解决9. Mac上安装Mysql的详细步骤及配置10. Oracle数据库19C的安装与配置指南(2022年最新版)