解决用rpm安装mysql时遇到系统库没有安装的问题
2013-06-15 15:11
826 查看
这几天做mysql的脚本备份测试,在red hat linux 5.3下搭建mysql环境:
安装mysq后l第一次启动报错:
110712 17:17:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110712 17:17:04 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
110712 17:17:04 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
google搜索解决办法:
执行 /usr/bin/mysql_install_db --user=mysql --datadir=/var/lib/mysql 重新安装了mysql的系统库 解决。
注:/var/lib/mysql为rpm包安装mysql默认的数据文件目录
安装mysq后l第一次启动报错:
110712 17:17:04 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110712 17:17:04 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
110712 17:17:04 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
google搜索解决办法:
执行 /usr/bin/mysql_install_db --user=mysql --datadir=/var/lib/mysql 重新安装了mysql的系统库 解决。
注:/var/lib/mysql为rpm包安装mysql默认的数据文件目录
相关文章推荐
- 遇到错误-----安装DBD:MySql模块遇到的问题及解决办法Can't exec "mysql_config": 没有那个文件或目录 at Makefile.PL line 479.
- Mysql安装中遇到的问题(针对的是Ubuntu或者Debian系统的解决措施)
- 遇到错误-----安装DBD:MySql模块遇到的问题及解决办法Can't exec "mysql_config": 没有那个文件或目录 at Makefile.PL line 479.
- 在Lunix 系统下 apt-get 安装mysql 遇到/var/lib/dpkg/lock 问题解决方法
- Win10系统安装MySQL8.0.13遇到的问题及解决方法
- linux系统下mysql安装过程中遇到的问题与解决方法
- Linux下安装Mysql与配置(附带遇到的各种问题的解决办法)
- centos mysql安装遇到的问题及解决方法
- 安装widows mysql 免安装版(zip) 步骤详解 以及遇到问题解决 以及忘记密码的修改方法
- 关于安装mysql 5.7时遇到的默认root无法登陆或者找不到data文件夹的问题的一些解决办法
- mysql免安装版安装配置过程中遇到的问题和相关的解决
- 虚拟机上Linux系统安装VMware tools 时遇到的问题解决办法(VM10,CentOS6.5)
- redhat7.2解决yum安装 mysql-server没有可用包的问题
- mysql安装版和解压版安装过程遇到1067的问题,和数据库乱码问题 解决办法
- mac系统下安装libjpeg(jpeg-6b)遇到的问题和解决办法
- 安装widows mysql 免安装版(zip) 步骤详解 以及遇到问题解决 以及忘记密码的修改方法
- 解决使用Ghost XP SP3系统安装IIS5.1没有默认网站的问题
- ERROR: cannot find MySQL include files 安装 coreseek-3.2.14 遇到的问题及解决
- 记录redhat下安装MySQL-python 模块遇到的问题及解决方法