我正在尝试从localhost8080访问phpMyAdmin(由于连接apache的问题,将其更改为httpd.conf中的8080)。在My.ini中将MySql端口更改为3307,以便连接MySql。
我设法启动了本地主机,但是无法访问phpMyAdmin。
它一直拒绝我的用户名和密码。
我试过了:
my.ini中的-skip-grant-tables
(无效)和
更改了配置中的用户名和密码
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';