[問題] mysql 設定問題

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
max9100
星球普通子民
星球普通子民
文章: 8
註冊時間: 2005-03-03 15:19

[問題] mysql 設定問題

文章 max9100 »

問題一:
當我要設 定
/usr/local/mysql/bin/mysqladmin -u root password 'your.password'

出現\r
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

請問這是SQL 沒設定好嗎.還是其他的問題呢?

問題二:
當我 ps -aux | grep mysql
mysql 32406 0.0 0.2 10572 1096 pts/0 S 10:30 0:00 /tmp/mysql/bin/my
root 306 0.0 0.1 4412 636 pts/0 S 11:24 0:00 grep mysql

第一項的監聽目錄是錯誤的.請問要如何才能修改正確的?

以上二個問題.請大大幫助我.謝謝
bebe2803
星球公民
星球公民
文章: 117
註冊時間: 2005-01-24 19:31
來自: Hong Kong

文章 bebe2803 »

試\r

帳號名 : root
密碼 : root

預設是這個, 登入成功後最好改掉..... @@
max9100
星球普通子民
星球普通子民
文章: 8
註冊時間: 2005-03-03 15:19

文章 max9100 »

/usr/local/mysql/bin/mysqladmin -u root password 'root'
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

還是不行??? :?:
max9100
星球普通子民
星球普通子民
文章: 8
註冊時間: 2005-03-03 15:19

文章 max9100 »

我已經解決了,我是把rm mysql 之後重新安裝.
而mysql.sock 也用mksock mysql.sock重作就好了..

謝謝大大的幫助 :mrgreen:
主題已鎖定

回到「phpBB 2 安裝與使用」