I
icecity
Unregistered / Unconfirmed
GUEST, unregistred user!
我是使用源代码安装的
1. tar zxvf mysql-23.44.tar.gz
2. cd mysql-3.23.44
3. ./configure - -prefix=/usr/local/mysql
4. ./configure - -with-charset=gb2312
5. make
6. make install
7. 发现没有安装在/usr/local/mysql下,但有一个mysql-test目录.
8. cd /usr/local/bin
9. ./mysql_install_db(正常)
10. usr/local/bin/safe_mysqld &
>>chmod 755 /usr/local/share/mysql/mysql.server
>>输入usr/local/share/mysql/mysql.server start结果也是一样的.
提示:
[1] 934
chown :mysql invalid usrer
starting mysqld daemon with database from /usr/local/var
011107 19:00:46 mysqld ended
[1]do
ne safe_mysql
11. myadmin -u root -p password abc
enter:
提示:
error :can't connect to local mysql server through socket '/tmp/mysql.sock (2)' >>发现在TMP下没有MYSQL.SOCK这个文件.
check that mysqld is running and that the socket : '/tmp/mysql.sock exstes!'
请问我哪一步做的有问题?怎样才能启动MYSQL?谢谢!
1. tar zxvf mysql-23.44.tar.gz
2. cd mysql-3.23.44
3. ./configure - -prefix=/usr/local/mysql
4. ./configure - -with-charset=gb2312
5. make
6. make install
7. 发现没有安装在/usr/local/mysql下,但有一个mysql-test目录.
8. cd /usr/local/bin
9. ./mysql_install_db(正常)
10. usr/local/bin/safe_mysqld &
>>chmod 755 /usr/local/share/mysql/mysql.server
>>输入usr/local/share/mysql/mysql.server start结果也是一样的.
提示:
[1] 934
chown :mysql invalid usrer
starting mysqld daemon with database from /usr/local/var
011107 19:00:46 mysqld ended
[1]do
ne safe_mysql
11. myadmin -u root -p password abc
enter:
提示:
error :can't connect to local mysql server through socket '/tmp/mysql.sock (2)' >>发现在TMP下没有MYSQL.SOCK这个文件.
check that mysqld is running and that the socket : '/tmp/mysql.sock exstes!'
请问我哪一步做的有问题?怎样才能启动MYSQL?谢谢!