我创建了一个新的亚马逊EC2实例并且安装了LAMP + phpmyadmin。
当我尝试使用主机登录时,PhyMyAdmin正在工作我收到错误 #1045无法登录MySQL服务器。
Here are my config settings
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'xxx-xx-xxx-xx-xxx.ap.southeast-1.compute.amazonaws.com'
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysqli';
/* User for advanced features */
// $cfg['Servers'][$i]['controluser'] = 'pma';
知道为什么这不起作用吗?