[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql --datadir=/data/mysql/
Installing MySQL system tables...
./bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Installation of system tables failed! Examine the logs in
/data/mysql/ for more information.
解决办法:因为我是64位的
所以#yum install compat-libstdc++-33.x86_64 即可
再次初始化:
[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql --datadir=/data/mysql/
Installing MySQL system tables...
OK
Filling help tables...
OK
问题解决了,撒花~
Installing MySQL system tables...
./bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Installation of system tables failed! Examine the logs in
/data/mysql/ for more information.
解决办法:因为我是64位的
所以#yum install compat-libstdc++-33.x86_64 即可
再次初始化:
[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql --datadir=/data/mysql/
Installing MySQL system tables...
OK
Filling help tables...
OK
问题解决了,撒花~
编辑回复