一、问题描述
二进制安装MySQL5.5,初始化报错如下:
[root@redhat01 mysql]# /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql/mysql3306/data
Installing MySQL system tables...
/usr/local/mysql/bin/mysqld: symbol lookup error: /usr/local/mysql/bin/mysqld: undefined symbol: _ZZ16randomized_indexPKvjE5seed1
Installation of system tables failed! Examine the logs in
/data/mysql/mysql3306/data for more information.
You can try to start the mysqld daemon with:
shell> /usr/local/mysql/bin/mysqld --skip-grant &
and use the command line tool /usr/local/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:
shell>