Re: [問題] mysql 的設定問題

看板FreeBSD作者時間19年前 (2006/07/25 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《netneto.bbs@ptt.cc ( )》之銘言: > ※ 引述《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也不會執行.... 試試 /usr/local/share/mysql/./mysql.server start -- ┌─────KKCITY─────┐  找歌最方便 KKBOX 歌詞搜尋!! bbs.kkcity.com.tw \^_^ / http://www.kkbox.com.tw └──From:61.31.38.66 ──┘   唱片公司授權,音樂盡情下載 --
文章代碼(AID): #14nGhl00 (FreeBSD)
文章代碼(AID): #14nGhl00 (FreeBSD)