LinuxSir.cn,穿越时空的Linuxsir!

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

Help !!! About mysql installation on SuSE 9.2

[复制链接]
发表于 2005-3-30 18:17:26 | 显示全部楼层 |阅读模式
OS:SuSE
MYSQL Version:mysql-5.0.3-beta
Question description:
1.After installation,I run command below:
linux:/usr/local/mysql # ./bin/mysql_install_db
Installing all prepared tables
Fill help tables

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 !
To do so, start the server, then issue the following commands:
/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h linux password 'new-password'
See the manual for more instructions.

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

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl 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
2.So I run command:
/usr/local/mysql/bin/mysqladmin -u root password 'password'
but it show a error code below:
error code:
connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!

I used command (find / -name mysql.sock) try to find this file,but not find.
Pls tell me how to slove this trouble and why!

Thank!
发表于 2005-3-30 18:37:27 | 显示全部楼层
帮你转到数据库版块。
回复 支持 反对

使用道具 举报

发表于 2005-3-30 20:36:42 | 显示全部楼层
It semms that  the MySQL server is not running .Check it's status.
回复 支持 反对

使用道具 举报

发表于 2005-3-30 20:52:09 | 显示全部楼层
数据库服务器没有启动。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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