我在debian 6.0.4中安装mysql-5.5.13.tar.gz.我正在按照这里 的步骤进行操作
scripts/mysql_install_db --user=mysql我得到了例外
bash: scripts/mysql_install_db: No such file or directory
但文件存在于该地方.我也做了那个可执行文件,但它不起作用.我在根终端工作.请帮我解决这个问题.
谢谢
我安装了
mysql-5.5.24-linux2.6-i686.tar.gz现在执行命令后
root@server06:/usr/local/mysql# 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 directoryInstallation of system tables failed! Examine the logs in ./data for more information.
You can try to start the mysqld daemon with:
Run Code Online (Sandbox Code Playgroud)shell> ./bin/mysqld --skip-grant &并使用命令行工具./bin/mysql连接到mysql数据库并查看授权表:
Run Code Online (Sandbox Code Playgroud)shell> ./bin/mysql -u root mysql mysql> show tables如果您遇到路径问题,请尝试'mysqld --help'.使用--log为您提供可能有用的./data登录.
请参阅MySQL手册部分"运行mysql_install_db的问题",以及描述操作系统问题的手册部分.另一个信息来源是http://lists.mysql.com/上提供的MySQL电子邮件存档.
请在邮寄我们之前检查以上所有内容!请记住,如果你给我们发邮件,你必须使用./bin/mysqlbug脚本!
并且mysql没有启动.如果我下载另一个,请帮帮我吗?
我使用apt-get安装了"libaio",然后就成功安装了.但是当我使用命令启动mysql时
bin/mysqld_safe --user=mysql &我收到了消息root@server06:/usr/local/mysql# bin/mysqld_safe --user=mysql 120514 16:10:11 mysqld_safe Logging to '/var/lib/mysql/server06.err'. 120514 16:10:11 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 120514 16:10:13 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended在/var/lib/mysql/server06.err文件中,我发现如下
20514 16:15:49 [Note] 120514 16:15:49 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended 120514 16:17:57 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 120514 16:17:57 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys' 120514 16:17:57 [Note] Plugin 'FEDERATED' is disabled. 120514 16:17:57 InnoDB: The InnoDB memory heap is disabled 120514 16:17:57 InnoDB: Mutexes and rw_locks use InnoDB's own implementation 120514 16:17:57 InnoDB: Compressed tables use zlib 1.2.3 120514 16:17:57 InnoDB: Using Linux native AIO 120514 16:17:57 InnoDB: Initializing buffer pool, size = 128.0M 120514 16:17:57 InnoDB: Completed initialization of buffer pool 120514 16:17:57 InnoDB: highest supported file format is Barracuda. 120514 16:17:57 InnoDB: Waiting for the background threads to start 120514 16:17:58 InnoDB: 1.1.8 started; log sequence number 1595675 120514 16:17:58 [ERROR] Aborting 120514 16:17:58 InnoDB: Starting shutdown... 120514 16:17:59 InnoDB: Shutdown completed; log sequence number 1595675 120514 16:17:59 [Note] 120514 16:17:59 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended我搜索了很多关于这个,但无法得到解决方案.任何帮助将被告知谢谢