mysql(二进制安装问题) 求解

数据库服务和管理,MySQL/PostgreSQL/Oracle/Sybase 等
回复
dong008
帖子: 1
注册时间: 2011-04-09 17:17
送出感谢: 0
接收感谢: 0

mysql(二进制安装问题) 求解

#1

帖子 dong008 » 2011-04-09 17:22

当输入以下内容
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,实在高不清,谢谢大家了
沙湖王
帖子: 109
注册时间: 2011-01-07 0:04
送出感谢: 0
接收感谢: 0

Re: mysql(二进制安装问题) 求解

#2

帖子 沙湖王 » 2011-04-11 1:07

直接网上搜索ubuntu lamp,那样更加简单的
回复

回到 “数据库管理”