zoukankan      html  css  js  c++  java
  • wamp phpMyAdmin error #1045

    视频在这里:

    https://www.youtube.com/watch?v=iA_UYg5MLZk

    stackoverflow解决办法在这里:http://stackoverflow.com/questions/19482371/fix-access-denied-for-user-rootlocalhost-for-phpmyadmin

    连接在这里很简单的!

    百度搜索的话直接给出修改多少行多少行。。。。

    我在这里简单的总结一下:

    1. 找到安装目录:G:wampappsphpmyadmin4.1.14
    2. 新建一个文件夹:config
    3. 打开http://localhost/phpmyadmin/setup/
    4. 选择新建服务器:

            5. 加密方式:默认为空,保存。

    现在在刚刚创建的目录下面config  看见产生了一个新的php文件

    在同级目录下找到相同的文件重新命名。

    然后把刚刚产生的文件复制出来

    在原来的文件中找到$cfg['Servers'][$i]['AllowNoPassword'] = true;  复制,粘贴在新文件中

    最后的配置文件为:

    <?php
    /*
     * Generated configuration file
     * Generated by: phpMyAdmin 4.1.14 setup script
     * Date: Sat, 01 Aug 2015 19:51:42 +0200
     */
    
    /* Servers configuration */
    $i = 0;
    
    /* Server: localhost [1] */
    $i++;
    $cfg['Servers'][$i]['verbose'] = '';
    $cfg['Servers'][$i]['host'] = 'localhost';
    $cfg['Servers'][$i]['port'] = '';
    $cfg['Servers'][$i]['socket'] = '';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['extension'] = 'mysqli';
    $cfg['Servers'][$i]['auth_type'] = 'cookie';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    $cfg['Servers'][$i]['AllowNoPassword'] = true;
    
    /* End of servers configuration */
    
    $cfg['blowfish_secret'] = '55bd072aa73ba9.57946818';
    $cfg['DefaultLang'] = 'en';
    $cfg['ServerDefault'] = 1;
    $cfg['UploadDir'] = '';
    $cfg['SaveDir'] = '';
    ?>

    效果:

  • 相关阅读:
    吞吐量(TPS)、QPS、并发数、响应时间(RT)
    吞吐量(TPS)、QPS、并发数、响应时间(RT)
    ubuntu 14.04安装pycharm 社区版
    ubuntu 14.04安装pycharm 社区版
    卷积神经网络(4)----目标检测
    卷积神经网络(4)----目标检测
    卷积神经网络(4)----目标检测
    如何搭建自己CDN服务器
    flask
    s16 计算机网络基础
  • 原文地址:https://www.cnblogs.com/silianbo/p/4695010.html
Copyright © 2011-2022 走看看