狀況1:

mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)

使用配置文件中定義的控制用戶連接失敗

可以參考此教學解決 連結

簡單來說要到資料夾 phpmyadmin > config.inc.php

裡面的

$cfg[‘Servers’][$i][‘controluser’] = ‘pma’;
$cfg[‘Servers’][$i][‘controlpass’] = ;
 
改成
 
$cfg[‘Servers’][$i][‘controluser’] = ‘root’;  < 自己資料庫的用戶名稱
$cfg[‘Servers’][$i][‘controlpass’] = ‘123456’;  < 自己資料庫的用戶密碼

狀況2:

1030 - Got error 176 "Read page with wrong checksum" from storage engine Aria

可參考此論壇解決 連結

簡單來說就是把所有資料表修復一遍就好了

最後修改日期: 2021 年 4 月 15 日

作者