<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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                • <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>