[root@cch rpm]# rpm -ivh MySQL-server-5.5.29-1.rhel5.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.5.29-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.5.29-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.5.29-1.rhel5.x86_64
需要使用yum命令快速安装依赖包libaio,运行如下命令:
yum install libaio
出现:configure: error: No curses/termcap library found
解决方法:
# ./configure --prefix=/usr/local/mysql
为 .#./configure --with-named-curses-libs=/usr/lib/libncursesw.so.5
出现:
../depcomp: line 571: exec: g++: not found
make[1]: *** [my_new.o] 错误 127
make[1]: Leaving directory `/home/justme/software/mysql-5.1.30/mysys'
make: *** [all-recursive] 错误 1
解决 :
下载 安装 gcc-c++-4.1.2-33.i386.rpm(yum intall gcc-c++)
安装或者重新mysql-5.1.30时mysql_install_db出现FATAL ERROR: Could not find mysqld错误解决,
因为/etc/mysql/下出现了个my.cnf
解决方法:
mv /etc/my.cnf /etc/my.cnf.bak
cp support-files/my-medium.cnf /etc/cnf
如果出现如下错误信息:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
说明mysql服务还没有启动,输入service mysql start启动mysql服务
service mysql start
MySQL5.5后启动失败
我通过rpm安装MySQL5.5后,尝试使用 service mysql start命令启动MySQL,得到错误信息:
The server quit withoud updating PID file。
进一步查看localhost.localdomain.err文件,发现错误日志如下:
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
和
Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
而我进入数据库目录下,可以看到mysql目录下plugin和host的数据表文件。
Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
没有自动初始化,先在mysql的安装目录下执行mysql_install_db
荒野乱斗国际版 (BrawlStars)最新版本v56.274
下载一波超人内置修改器菜单版 安卓版v1.0.2
下载敢达决战官方正版 安卓版v6.7.9
下载敢达决战 安卓版v6.7.9
下载继承了一座戏园子无限声望铜钱版 内置菜单最新版v1.7
继承了一座戏园子折相思版是游戏的破解版本,在该版本中为玩家提
山河半世橙光清软金手指版 无限鲜花v3.24
山河半世是一款超级好玩的橙光恋爱游戏,在游戏中玩家们需要扮演
蓬莱手游折相思版 安卓版v1.0.0
蓬莱免广告版是游戏的修改版本,在该版本中为玩家去除了广告,玩
当红影后橙光游戏破解版2025 最新版v1.0
当红影后橙光破解版是一款超级好玩的娱乐圈题材的橙光游戏,在这
忽然成了万人迷清软完结版 无限鲜花版v12.15
忽然成了万人迷破解版是一款非常好玩的男性向橙光游戏,在有一天