当输入以下内容
ddchen@ddchen-F3Ke /usr/local/mysql $ sudo scripts/mysql_install_db --user=mysql
出现如下错误:
Installing MySQL system tables...
./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Installation of system tables failed! Examine the logs in
./data for more information.
You can try to start the mysqld daemon with:
shell> ./bin/mysqld --skip-grant &
and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the ./bin/mysqlbug script!
本人第一次安装mysql,实在高不清,谢谢大家了
mysql(二进制安装问题) 求解
-
- 帖子: 1
- 注册时间: 2011-04-09 17:17
-
- 帖子: 109
- 注册时间: 2011-01-07 0:04
Re: mysql(二进制安装问题) 求解
直接网上搜索ubuntu lamp,那样更加简单的