close
裝好php+mysql後,進到cmd:\AppServ\mysql\bin\mysql按enter一直出現:
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: Y
ES)
原因:安裝php+mysql有要輸入密碼,所以出現上面問題
錯誤指令:1.mysql -p(書上解法,但我用這個不能進去)
2.mysql -u mysql -p(同上)


正確解法如下:
步1:mysql -u root -p
步2:輸入密碼
看到下面英文字就是成功連線了Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 81
Server version: 5.0.45-community-nt-log MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


搞了兩天,終於解決了,哎~~~,我的青春~~~~~
arrow
arrow
    全站熱搜

    focus163 發表在 痞客邦 留言(2) 人氣()