kitmik 发表于 2004-5-8 18:16:21

请问我安装的mysq哪里出现问题了~~~~~请各位帮忙~~~

我下载的是
mysql-standard-4.1.1-alpha-pc-linux-i686.tar.gz
我的系统是
RedHat 9


首先,我在/usr/local下面建立了一个 mysql的文件夹

然后,我把tar包中的所有mysql文件解到了mysql文件夹中

我设定PATH

MySQL_bin=/usr/local/mysql
PATH=$PATH:$MySQL_bin/bin

MySQL_scripts=/usr/local/mysql
PATH=$PATH:$MySQL_scripts/scripts

export MySQL_bin MySQL_scripts

重起电脑后:

# mysqladmin
mysqladminVer 8.40 Distrib 4.1.1-alpha, for pc-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
.....................

# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

以上是我所有的安装过程,请问在哪里出现问题了~~为什么配置不出来呢?
我试了网上的好多方法都不行,各位前辈教教我好吗?
页: [1]
查看完整版本: 请问我安装的mysq哪里出现问题了~~~~~请各位帮忙~~~