/var/www/html/phpMyAdmin 或 htdocs/phpMyAdmin)。https://localhost/phpMyAdmin/index.php。預設配置 AllowNoPassword = false,導致 root 空密碼無法登入。
config.sample.inc.php 為 config.inc.php。config.inc.php,找到:$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
兩步驟快速解決空密碼登入問題,配合安全加固措施,讓資料庫管理更安心。