繁体   English   中英

phpMyAdmin不接受用户名和密码

[英]Username and password not accepted in phpMyAdmin

我正在尝试从localhost8080访问phpMyAdmin(由于连接apache的问题,将其更改为httpd.conf中的8080)。 在My.ini中将MySql端口更改为3307,以便连接MySql。 我设法启动了本地主机,但是无法访问phpMyAdmin。 它一直拒绝我的用户名和密码。 我试过:在my.ini中使用-skip-grant-tables (不起作用),并在config中更改了用户名和密码

/* 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'] = '';

phpMyAdmin错误屏幕截图

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM