<legend id='mv9OE'><style id='mv9OE'><dir id='mv9OE'><q id='mv9OE'></q></dir></style></legend>

    <tfoot id='mv9OE'></tfoot>
    <i id='mv9OE'><tr id='mv9OE'><dt id='mv9OE'><q id='mv9OE'><span id='mv9OE'><b id='mv9OE'><form id='mv9OE'><ins id='mv9OE'></ins><ul id='mv9OE'></ul><sub id='mv9OE'></sub></form><legend id='mv9OE'></legend><bdo id='mv9OE'><pre id='mv9OE'><center id='mv9OE'></center></pre></bdo></b><th id='mv9OE'></th></span></q></dt></tr></i><div id='mv9OE'><tfoot id='mv9OE'></tfoot><dl id='mv9OE'><fieldset id='mv9OE'></fieldset></dl></div>
    • <bdo id='mv9OE'></bdo><ul id='mv9OE'></ul>

      1. <small id='mv9OE'></small><noframes id='mv9OE'>

        在 EasyPHP{WAMP} 中设置 root 密码后无法从 phpMyAdmin 访问 MySQL

        Unable to access MySQL from phpMyAdmin after setting root password in EasyPHP{WAMP}(在 EasyPHP{WAMP} 中设置 root 密码后无法从 phpMyAdmin 访问 MySQL)

          <tfoot id='NoSUv'></tfoot>

          • <i id='NoSUv'><tr id='NoSUv'><dt id='NoSUv'><q id='NoSUv'><span id='NoSUv'><b id='NoSUv'><form id='NoSUv'><ins id='NoSUv'></ins><ul id='NoSUv'></ul><sub id='NoSUv'></sub></form><legend id='NoSUv'></legend><bdo id='NoSUv'><pre id='NoSUv'><center id='NoSUv'></center></pre></bdo></b><th id='NoSUv'></th></span></q></dt></tr></i><div id='NoSUv'><tfoot id='NoSUv'></tfoot><dl id='NoSUv'><fieldset id='NoSUv'></fieldset></dl></div>

                <tbody id='NoSUv'></tbody>
              <legend id='NoSUv'><style id='NoSUv'><dir id='NoSUv'><q id='NoSUv'></q></dir></style></legend>
                  <bdo id='NoSUv'></bdo><ul id='NoSUv'></ul>

                  <small id='NoSUv'></small><noframes id='NoSUv'>

                • 本文介绍了在 EasyPHP{WAMP} 中设置 root 密码后无法从 phpMyAdmin 访问 MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在首次启动 MySQL 时成功设置后,出于安全原因,该页面提示我设置 ROOT 密码.

                  After successful setup on initial launch of MySQL, the page prompted me to set up ROOT password for security reasons.

                  设置密码后,我无法再访问 MySQL.错误是:

                  On setting the password, am no longer able to access MySQL. The error is:

                  1045 - Access denied for user 'root'@'localhost' (using password: NO) 
                  

                  在网上查了一下,并在 phpmyadmin 文件夹中的 config.inc.php 中尝试了以下选项:

                  Looked up on the net and tried the following options in the config.inc.php from the phpmyadmin foler:

                  1. 将身份验证设置为http",以便提示输入用户名和密码

                  1. Set the authentication to "http" so that it prompts to enter the username and password

                  /* Authentication type */
                  $cfg['Servers'][$i]['auth_type'] = 'http';
                  

                • 在配置文件中设置正确的密码

                • Set up the correct password in the config file

                  $cfg['Servers'][$i]['password'] = 'myPwd';
                  

                • 他们都没有工作.

                  有人可以建议访问 MySQL 的解决方法吗?我并不担心无法使用 root 帐户,但希望使用其他用户名对数据库进行 CRUD.

                  Can anyone suggest a workaround to access MySQL? Am not fussed about not being able to use the root account but would like to CRUD on the database using other username.

                  推荐答案

                  这是我的 phpmyadmin config.inc.php 文件:

                  here is my phpmyadmin config.inc.php file:

                  <?php
                  
                  $i = 0;
                  $i++;
                  $cfg['Servers'][$i]['host'] = 'localhost';
                  $cfg['Servers'][$i]['connect_type'] = 'tcp';
                  $cfg['Servers'][$i]['compress'] = false;
                  $cfg['Servers'][$i]['extension'] = 'mysql';
                  $cfg['Servers'][$i]['AllowNoPassword'] = false;
                  
                  ?>
                  

                  如果 Apache/PHP 与 MySQL 在同一台机器上运行,那应该就足够了.然后系统会提示您输入用户名和密码.输入 root 和您设置的密码.

                  That should be enough if Apache/PHP is running on the same machine as MySQL. Then you will be prompted for a username and password. Enter root and the password that you set.

                  这篇关于在 EasyPHP{WAMP} 中设置 root 密码后无法从 phpMyAdmin 访问 MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 URL行动)
                  Forcing quot;Save Asquot; dialog via jQuery GET(强制“另存为通过 jQuery GET 对话框)
                  PHP - get certain word from string(PHP - 从字符串中获取某个单词)
                  How to debug a get request in php using curl(如何使用 curl 在 php 中调试 get 请求)
                  get a # from a url in php(从 php 中的 url 获取 #)
                  PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)
                • <small id='7tSlT'></small><noframes id='7tSlT'>

                        <tbody id='7tSlT'></tbody>
                        <bdo id='7tSlT'></bdo><ul id='7tSlT'></ul>

                            <i id='7tSlT'><tr id='7tSlT'><dt id='7tSlT'><q id='7tSlT'><span id='7tSlT'><b id='7tSlT'><form id='7tSlT'><ins id='7tSlT'></ins><ul id='7tSlT'></ul><sub id='7tSlT'></sub></form><legend id='7tSlT'></legend><bdo id='7tSlT'><pre id='7tSlT'><center id='7tSlT'></center></pre></bdo></b><th id='7tSlT'></th></span></q></dt></tr></i><div id='7tSlT'><tfoot id='7tSlT'></tfoot><dl id='7tSlT'><fieldset id='7tSlT'></fieldset></dl></div>

                          1. <legend id='7tSlT'><style id='7tSlT'><dir id='7tSlT'><q id='7tSlT'></q></dir></style></legend>
                            <tfoot id='7tSlT'></tfoot>