dprh34164 2018-06-02 05:12
浏览 879

phpMyAdmin无法登录MySQL服务器

I downloaded and installed apache2.4+php7, and set phpmyadmin in C:/Program Files/tomcat/webapps/ROOT. I also set Documentroot of apache to C:/Program Files/tomcat/webapps/ROOT. I can log into MySQL in cmd correctly, my user id is root, password is root. apache2.4 is running.

When I type "http://localhost/phpmyadmin", I can get into the login page belowenter image description here

I edited config.default.php in C:/Program Files/tomcat/webapps/ROOT/phpmyadmin/libraries, here are some settings I edited:

$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
$cfg['Servers'][$i]['host'] = 'localhost'; 
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['blowfish_secret'] = 'root';
$cfg['DefaultLang'] = 'zh'; 

Howerver, when I type name and password into it, it shows enter image description here It says

mysqli_real_connect(): (HY000/1862): Unknown error 1862

I totally don't know how to solve it, can someone help me?

  • 写回答

1条回答 默认 最新

  • douzi2785 2018-06-02 05:26
    关注

    Password is too simple? Try changing MySQL password to something a little longer and different than what you have.

    评论
编辑
预览

报告相同问题?

悬赏问题

  • ¥15 我这个代码哪里有问题 acm 平台上显示错误 90%,我自己运行好像没什么问题
  • ¥50 C#编程中使用printDocument类实现文字排版打印问题
  • ¥15 找会编程的帅哥美女 可以用MATLAB里面的simulink编程,用Keil5编也可以。
  • ¥15 已知隐函数其中一个变量τ的具体值,求另一个变量
  • ¥15 r语言Hurst指数
  • ¥15 Acrn IVSHMEM doorbell问题
  • ¥15 yolov5中的val测试集训练时数量变小问题
  • ¥15 MPLS/VPN实验中MPLS的配置问题
  • ¥15 materialstudio氢键计算问题
  • ¥15 echarts图表制作
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部