#1045无法登录ec2实例上的MySQL服务器

时间:2015-01-27 12:02:19

标签: mysql amazon-ec2 phpmyadmin

我创建了一个新的亚马逊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';

知道为什么这不起作用吗?

0 个答案:

没有答案