戰國策幫我遷移了主機
遷移之後 所有的資料庫與新建的資料庫
都變得無法訪問
跟線上客服請教了一天
到現在還是無法解決
小弟的PHP程式如下:
<?php
$link = mysql_connect('ip', 'user', 'password')or die('無法連結資料庫!'.mysql_error());
mysql_query("SET NAMES 'utf8'");
mysql_select_db('mydb',$link) or die('無法選擇資料庫');
?>
丟到主機上執行會報以下這樣的錯誤
無法連結資料庫!Client does not support authentication protocol requested by server; consider upgrading MySQL client
請問各位先進 有遇過這樣的問題嗎?
該如何解決?謝謝
內文搜尋
X




























































































