[討論]mysql無法設密碼?
發表於 : 2003-02-23 15:39
平台:linux redhat8.0
我按照教學的方式裝了mysql3.23.49,也沒什麼error,可是到了adduser mysql時它說mysql already exist. 到了下面的步驟:
/usr/local/mysql/bin/safe_mysqld --user=mysql &會出現Starting mysql...mysql ended 停在那裏等我按了enter,提示號才出來。
cd /usr/local/mysql/bin 沒有問題
./mysqladmin -u root password 'mypassword'時卻出現\r
connet error:Can't connect to local MySQL server through socket /tmp/mysql.socl(2)' check that Mysqld is running and the socket:'/tmp/mysql.sock' exists.
我去看那個檔案存在但是0byte,有誰知道怎麼回事嗎?
我按照教學的方式裝了mysql3.23.49,也沒什麼error,可是到了adduser mysql時它說mysql already exist. 到了下面的步驟:
/usr/local/mysql/bin/safe_mysqld --user=mysql &會出現Starting mysql...mysql ended 停在那裏等我按了enter,提示號才出來。
cd /usr/local/mysql/bin 沒有問題
./mysqladmin -u root password 'mypassword'時卻出現\r
connet error:Can't connect to local MySQL server through socket /tmp/mysql.socl(2)' check that Mysqld is running and the socket:'/tmp/mysql.sock' exists.
我去看那個檔案存在但是0byte,有誰知道怎麼回事嗎?