0
我試圖將本地phpadmin連接到遠程數據庫,但它說錯誤。錯誤顯示「無法登錄到MySQL服務器」。將phpadmin連接到遠程數據庫
下面是phpadmin的config.inc.php文件。
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'database_user_1'; //database user name
$cfg['Servers'][$i]['password'] = 'root'; //database user 1 password
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '208.91.198.231';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
我試圖重新安裝XAMPP現在重新連接我能夠登錄到本地mysql數據庫,但特林連接到遠程服務器時,它說,下面的錯誤。
MySQL said: Documentation
#1115 - Unknown character set: 'utf8mb4'
任何建議如何解決問題。
遠程sql server允許連接? –