[問題] php無法聯結至mysql資料庫
之前使用easyphp這個一口氣把apche跟mysql裝起來的軟體
後來因為啟動伺服器上的問題
將easyphp反安裝再改裝成appserv
之後就沒辦法使用php的mysql_connect()去聯結mysql資料庫了
我確定我有用命令提示字元重設過新裝的mysql帳密
在命令提示字元下執行mysql也能輸入帳密並登入建構資料庫沒問題
然而卻完全沒辦使用php聯結mysql....
錯誤訊息如下
Warning: mysql_connect(): Client does not support authentication protocol
requested by server; consider upgrading MySQL client in "該網頁檔位置" on
line 16
Warning: mysql_select_db(): Access denied for user 'ODBC'@'localhost'
(using password: NO) in "該網頁檔位置" on line 17
因為完全不知道到底是怎麼情形
所以PO來此處請各位指點....m(_ _)m
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.248.160
→
07/15 14:08, , 1F
07/15 14:08, 1F
→
07/15 14:09, , 2F
07/15 14:09, 2F
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章