1. <i id='Clhbs'><tr id='Clhbs'><dt id='Clhbs'><q id='Clhbs'><span id='Clhbs'><b id='Clhbs'><form id='Clhbs'><ins id='Clhbs'></ins><ul id='Clhbs'></ul><sub id='Clhbs'></sub></form><legend id='Clhbs'></legend><bdo id='Clhbs'><pre id='Clhbs'><center id='Clhbs'></center></pre></bdo></b><th id='Clhbs'></th></span></q></dt></tr></i><div id='Clhbs'><tfoot id='Clhbs'></tfoot><dl id='Clhbs'><fieldset id='Clhbs'></fieldset></dl></div>
    2. <small id='Clhbs'></small><noframes id='Clhbs'>

        <bdo id='Clhbs'></bdo><ul id='Clhbs'></ul>

      <legend id='Clhbs'><style id='Clhbs'><dir id='Clhbs'><q id='Clhbs'></q></dir></style></legend><tfoot id='Clhbs'></tfoot>

      我无法访问 XAMPP phpMyAdmin;它说:错误 MySQL 说:文档无法连接:无效的设置

      I can#39;t access XAMPP phpMyAdmin; it says: Error MySQL said: Documentation Cannot connect: invalid settings(我无法访问 XAMPP phpMyAdmin;它说:错误 MySQL 说:文档无法连接:无效的设置)

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

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

      <tfoot id='ikto7'></tfoot>

        <tbody id='ikto7'></tbody>
      <legend id='ikto7'><style id='ikto7'><dir id='ikto7'><q id='ikto7'></q></dir></style></legend>

            • <bdo id='ikto7'></bdo><ul id='ikto7'></ul>
              • 本文介绍了我无法访问 XAMPP phpMyAdmin;它说:错误 MySQL 说:文档无法连接:无效的设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                完整的错误信息:

                Error
                MySQL said: Documentation
                Cannot connect: invalid settings. 
                Connection for controluser as defined in your configuration failed.
                phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
                

                到目前为止,我一直在使用网络托管站点;这可能弄乱了我的 xampp 连接.我的phpMyAdminconfig.in.php"文件设置如下:

                I have been using a web hosting site sever so far; this may have messed up my xampp connection. My phpMyAdmin "config.in.php" file is set up as follows:

                /* Authentication type and info */
                $cfg['Servers'][$i]['auth_type'] = 'config';
                $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';
                

                我可以在localhost:8080"上运行我使用 xampp 创建的 php 代码,但我无法访问 mysql.我的数据库连接配置如下:

                I am able to run the php codes that I have created using xampp at "localhost:8080", but I can't access mysql. My database connection configuration is as follows:

                // Databse Connection Constants
                define('DB_HOST','localhost');
                define('DB_USER','root');
                define('DB_PASS',','');
                define('DB_NAME','gallery_db');
                

                有人可以帮忙吗?谢谢.

                Can anyone help? Thanks.

                推荐答案

                我在 StackOverflow 中找到了答案.在config.inc.php"中文件,我将配置"更改为cookie".这是从 StackOverflow 引用的答案:

                I found the answer in StackOverflow. In "config.inc.php" file, I changed 'config' to 'cookie'. Here is the answer quoted from StackOverflow:

                第 1 步:

                找到phpMyAdmin的安装路径.

                Locate phpMyAdmin installation path.

                第 2 步:

                在您喜欢的文本编辑器中打开 phpMyAdmin>config.inc.php.

                Open phpMyAdmin>config.inc.php in your favourite text editor.

                第 3 步:

                搜索$cfg['Servers'][$i]['auth_type'] = 'config';

                将其替换为 $cfg['Servers'][$i]['auth_type'] = 'cookie';

                这篇关于我无法访问 XAMPP 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 的问题)
                  • <bdo id='e3PGq'></bdo><ul id='e3PGq'></ul>
                    <i id='e3PGq'><tr id='e3PGq'><dt id='e3PGq'><q id='e3PGq'><span id='e3PGq'><b id='e3PGq'><form id='e3PGq'><ins id='e3PGq'></ins><ul id='e3PGq'></ul><sub id='e3PGq'></sub></form><legend id='e3PGq'></legend><bdo id='e3PGq'><pre id='e3PGq'><center id='e3PGq'></center></pre></bdo></b><th id='e3PGq'></th></span></q></dt></tr></i><div id='e3PGq'><tfoot id='e3PGq'></tfoot><dl id='e3PGq'><fieldset id='e3PGq'></fieldset></dl></div>
                      • <small id='e3PGq'></small><noframes id='e3PGq'>

                        <legend id='e3PGq'><style id='e3PGq'><dir id='e3PGq'><q id='e3PGq'></q></dir></style></legend>
                          <tbody id='e3PGq'></tbody>

                          <tfoot id='e3PGq'></tfoot>