<tfoot id='eLsY5'></tfoot>
      • <bdo id='eLsY5'></bdo><ul id='eLsY5'></ul>

      <legend id='eLsY5'><style id='eLsY5'><dir id='eLsY5'><q id='eLsY5'></q></dir></style></legend>
    1. <small id='eLsY5'></small><noframes id='eLsY5'>

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

        mysqli_real_connect(): (HY000/2002): 没有那个文件或目录

        时间:2023-07-31
          <bdo id='88oTS'></bdo><ul id='88oTS'></ul>

            <tbody id='88oTS'></tbody>
          <legend id='88oTS'><style id='88oTS'><dir id='88oTS'><q id='88oTS'></q></dir></style></legend>
              <i id='88oTS'><tr id='88oTS'><dt id='88oTS'><q id='88oTS'><span id='88oTS'><b id='88oTS'><form id='88oTS'><ins id='88oTS'></ins><ul id='88oTS'></ul><sub id='88oTS'></sub></form><legend id='88oTS'></legend><bdo id='88oTS'><pre id='88oTS'><center id='88oTS'></center></pre></bdo></b><th id='88oTS'></th></span></q></dt></tr></i><div id='88oTS'><tfoot id='88oTS'></tfoot><dl id='88oTS'><fieldset id='88oTS'></fieldset></dl></div>
              • <tfoot id='88oTS'></tfoot>
              • <small id='88oTS'></small><noframes id='88oTS'>

                  本文介绍了mysqli_real_connect(): (HY000/2002): 没有那个文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  mysqli_real_connect(): (HY000/2002): No such file or directory
                  

                  MacOS 上的 PhpMyAdmin 错误.我想要答案我真的不知道我需要做什么来解决这个问题.

                  PhpMyAdmin error on MacOS. I want answer I really have no idea what I need to do to resolve this.

                  推荐答案

                  将/etc/phpmyadmin/config.inc.php 中的 localhost 更改为 127.0.0.1

                  change localhost to 127.0.0.1 in /etc/phpmyadmin/config.inc.php

                  $cfg['Servers'][$i]['host'] = '127.0.0.1';
                  

                  这是因为如果你使用本地主机,pma 会尝试连接到 mysql.socket.如果你使用 127.0.0.1 PMA 建立一个应该可以工作的 TCP 连接.

                  The reason for this is that pma tries to connect to the mysql.socket if you use localhost. If you use 127.0.0.1 PMA makes a TCP connection which should work.

                  这篇关于mysqli_real_connect(): (HY000/2002): 没有那个文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:PHP 和 MySQLi - 无法通过引用传递参数 2 下一篇:phpMyAdmin 错误: mysqli_real_connect(): (HY000/1045): 用户

                  相关文章

                  最新文章

                    <bdo id='158ij'></bdo><ul id='158ij'></ul>

                      <tfoot id='158ij'></tfoot>
                    1. <small id='158ij'></small><noframes id='158ij'>

                      <legend id='158ij'><style id='158ij'><dir id='158ij'><q id='158ij'></q></dir></style></legend>
                    2. <i id='158ij'><tr id='158ij'><dt id='158ij'><q id='158ij'><span id='158ij'><b id='158ij'><form id='158ij'><ins id='158ij'></ins><ul id='158ij'></ul><sub id='158ij'></sub></form><legend id='158ij'></legend><bdo id='158ij'><pre id='158ij'><center id='158ij'></center></pre></bdo></b><th id='158ij'></th></span></q></dt></tr></i><div id='158ij'><tfoot id='158ij'></tfoot><dl id='158ij'><fieldset id='158ij'></fieldset></dl></div>