#1045 - Access denied for user 'root'@'localhost' (using password: YES)
phpMyAdmin/config.inc.php。$cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = 'new_mysql_password';auth_type='cookie'),**必須**設置 blowfish_secret:$cfg['blowfish_secret'] = 'random_32_char_string'; // 如 'a1b2c3d4e5f6...'輸入正確密碼也無錯誤提示,直接跳回登錄頁。
php.ini:session.save_path = "/var/lib/php/session"chown -R www-data:www-data /var/lib/php/sessionchmod 770 /var/lib/php/sessionsystemctl restart php-fpm 或 service php-fpm restart。$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'your_password';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['blowfish_secret'] = 'your_32_char_random_secret'; // 必填
$cfg['DefaultLang'] = 'zh_CN';
$cfg['Servers'][$i]['host'] = 'remote_ip';GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY 'password';