- 论坛徽章:
- 0
|
我用的是Magic Linux,内核是2.6.11.10,
需要安装mysql,资料也看了不少,就是不行。
我下的是:mysql-standard-4.1.12-pc-linux-gnu-i686-icc-glibc23
安装里面的提示:
[code]
shell>; groupadd mysql
shell>; useradd -g mysql mysql
shell>; cd /usr/local
shell>; gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
shell>; ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
shell>; cd mysql
shell>; scripts/mysql_install_db --user=mysql
shell>; chown -R root .
shell>; chown -R mysql data
shell>; chgrp -R mysql .
shell>; bin/mysqld_safe --user=mysql &
[/code]
它说如果执行到最后不出问题,就应该安装成功了,但是,我执行到
scripts/mysql_install_db --user=mysql的时候,就出问题了,提示如下内容:
- [root@MagicLinux mysql-standard-4.1.12-pc-linux-gnu-i686-icc-glibc23]# scripts/mysql_install_db --user=mysql
- Installing all prepared tables
- ./bin/mysqld: error while loading shared libraries: libcxaguard.so.5: 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 also try to start the mysqld daemon with:
- ./bin/mysqld --skip-grant &
- You can 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.
- The latest information about MySQL is available on the web at
- http://www.mysql.com
- Please consult the MySQL manual section: 'Problems running mysql_install_db',
- and the manual section that describes problems on your OS.
- Another information source is the MySQL email archive.
- Please check all of the above before mailing us!
- And if you do mail us, you MUST use the ./bin/mysqlbug script!
复制代码 |
|