mysql 的設定問題 - BBS

Table of Contents

※ 引述《netneto ( )》之銘言:
: 我灌的mysql是mysql-3.23 但是卻不知道如何去使用...
: 我要設定root password 時 
: 下這個指令 /usr/local/bin/mysqladmin -u root password '******'
: 可是回應卻是
: error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
: Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
: 請教一下這是什麼原因呢?
請容我自問自答一下....

我原本沒打算在開機時就用mysql

所以在rc.conf中沒有設定 mysql_enble='YES'

所以就算使用mysql.sh也不會執行....


--

All Comments