LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 789|回复: 2

dsj兄,无法安装成功mysql,建VAR库时出错,请帮忙!

[复制链接]
发表于 2003-6-9 12:52:49 | 显示全部楼层 |阅读模式
http://www.linuxsir.cn/forum.php ... 0&highlight=php

按你的提示,下载的是mysql-3.23.56.tar.gz,用tar解出后,make及make install都正常,但运行 ./mysql_install_db出现如下图所示,无法建成VAR库,

[root@tcl7696 bin]# ./mysql_install_db
Installing all prepared tables
030608 18:56:38 /usr/local/mysql/libexec/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h tcl7696.domain password 'new-passwor
d'
See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/local/mysql/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd /usr/local/mysql ; /usr/local/mysql/bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests

Please report any problems with the /usr/local/mysql/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

[root@tcl7696 bin]# pwd
/usr/local/mysql/bin

初学者,完全安装redhat linux9.0、用GOME桌面,此前一天装了apache 2.0.46,谢谢!
发表于 2003-6-9 13:51:20 | 显示全部楼层
/usr/local/mysql/bin/mysql
看看有反映么。
没的话/usr/local/mysql/下有个目录有mysql.server运行这个程序看看
 楼主| 发表于 2003-6-9 18:28:59 | 显示全部楼层

dancingpig,运行后出现如下提示,跟着光标在闪动,其它没反应

[root@tcl7696 root]# /usr/local/mysql/bin/mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

在/usr/local/mysql/share/mysql/下有此mysql.server文件,我试运如下文件
[root@tcl7696 mysql]# ./mysql.server start
[root@tcl7696 mysql]# Starting mysqld daemon with databases from /var/lib/mysql
至此后,光标在闪动,等了几分钟不动后,就再不动了,只好退出
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表