MySQL Installation of system tables failed!

刚开始学习Linux,就遇到了问题。

当在RedHat下安装MySQL时提示如下错误,请高手给点指点,谢谢:

rpm -vih  MySQL-server-community-5.0.96-1.rhel5.i386.rpm --nodeps --force

warning: MySQL-server-community-5.0.96-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
Giving mysqld 5 seconds to exit nicely
   1:MySQL-server-community ########################################### [100%]
/usr/bin/mysql_install_db: line 1: 13446    断开的管道             cat
/usr/bin/mysql_install_db: line 433: 13444   断开的管道            cat $create_system_tables $fill_system_tables
/usr/bin/mysql_install_db: line 433: 13443 Done(141)               { echo "use mysql;"; cat $create_system_tables $fill_system_tables; }
     13445                       | eval "$filter_cmd_line"
     13447   浮点数例外  | $mysqld_install_cmd_line >/dev/null
Installation of system tables failed!

Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try ‘mysqld --help‘ if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please 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/bin/mysqlbug script!
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
Giving mysqld 2 seconds to start

解决办法: 更换了mysql的rpm版本就安装正确了。

客户端:MySQL-client-standard-5.0.22-0.rhel4.i386.rpm

服务端:MySQL-server-standard-5.0.22-0.rhel4.i386.rpm

下载地址:http://downloads.mysql.com/archives/community/

安装的命令: rpm -u root -p MySQL-client-standard-5.0.22-0.rhel4.i386.rpm --nodeps;

rpm -u root -p MySQL-server-standard-5.0.22-0.rhel4.i386.rpm --nodeps;

时间: 2024-10-06 20:23:56

MySQL Installation of system tables failed!的相关文章

Navicat的1577 – Cannot proceed because system tables used by Event Scheduler where found damaged at s

问题: 今天使用Navicat不过当连接上新mysql后,无论打开任何一个数据库,都会提示:1577 – Cannot proceed because system tables used by Event Scheduler where found damaged at server start,按照提示的说法是系统表损坏,但没有理由全部都损坏吧. 解决: 于是上网查些相关信息,但比较失望,没有实际的解决方案.经过一番折腾,在mysql中文手册里发现一些信息,原来是从mysql5.1版本开始,

[bug] Cannot proceed because system tables used by Event Scheduler were found damaged at server start

本地:mac 10.12.3  mysql 5.6 远程:linux 7.3    mysql 5.7.18.  (远程数据库yum安装,又5.6升级到5.7) 步骤:从本地数据库导出数据到远程数据库 现象:表,存储过程都可以同步过去, 当执行:show events ; 出现 Cannot proceed because system tables used by Event Scheduler were found damaged at server start 原因:5.6升级到5.7的时

MySQL 系统变量(system variables)

MySQL系统变量(system variables)实际上是一些系统参数,用于初始化或设定数据库对系统资源的占用,文件存放位置等等.这些个系统变量可以分为全局以及会话级别层面来修改,有些也可以进行动态修改.本文主要介绍了系统变量的一些概念以及如何设置查看这些系统变量. 1.什么是系统变量   系统变量实际上用于控制数据库的一些行为和方式的参数.比如我们启动数据库的时候设定多大的内存,使用什么样的隔离级别,日志文件的大小,存放位置等等一系列的东东.当然我们数据库系统启动后,有些系统变量(参数)也

fastboot 刷system.img 提示 sending 'system' (*KB)... FAILED (remote: data too large)

华为G6-C00卡刷提示OEMSBL错误,只能线刷 ,但是官方找不到线刷img镜像,无奈 网上下了个可以线刷的工具套件 流氓ROM . 使用HuaweiUpdateExtractor(工具百度)把官方 UPDATA.APP 中三个镜像文件全部提取出来 尝试使用 下面命令 fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img 最后一步出错 提示 sendi

修改mysql字符编码出现Job failed to start解决办法

从网上找到如下资料: $sudo gedit /etc/mysql/my.cnf [client]下添加: default-character-set=utf8 [mysqld]下添加: default-character-set=utf8 然后保存退出 $ /etc/init.d/mysql restart 结果出现了: Since the script you are attempting to invoke has been converted to an Upstart job, you

[mysql] Some non-transactional changed tables couldn't be rolled back

使用peewee的事务时,碰到一个郁闷的问题,事务似乎无效! 于是简化了下模型,写了简单的测试代码,发现问题,如题所示. 找到解答: https://github.com/etianen/django-reversion/issues/362 https://dev.mysql.com/doc/refman/5.0/en/nontransactional-tables.html 原因就是数据库表的引擎需要设置为InnoDB才能支持事物,解决方法如下: http://dev.mysql.com/d

easy installation booster system——stream

Tianjin Elecmotor CO.,LTD.is a global generic electromechanical productmanufacturer & distributor since founded in 1999. We are known for pumptechnology research, innovative designing, professional production andcustomer-oriented marketing.easy insta

使用Ef查询出现的问题The cast to value type 'System.Boolean' failed because the materialized value is null.的解决方法

把值类型的系统.布尔的失败是因为物化值是null.结果类型的泛型参数或查询必须使用可空类型. 解决方法: 请确保你查询中的字段值不为空或者做为空判断 使用Ef查询出现的问题The cast to value type 'System.Boolean' failed because the materialized value is null.的解决方法

The cast to value type 'System.Decimal' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.

CurrentStock = db.BillEntry.Where(b => b.GoodsId == item.GoodsId).Sum(b => (decimal?)b.Qty) ?? 0, 出现这种错误是因为没有获取到数据造成的,可以使用三元判断来操作,注意Sum里的Qty应该可以为空,如果为空则返回0,否则正式返回. The cast to value type 'System.Decimal' failed because the materialized value is null