将我的 opencart 文件移动到实时服务器时出现此错误。它在本地服务器上工作没有任何问题。
警告:mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/clients/client1/web39/web/system/library/db/mysqli.php on line 7Warning: DB\MySQLi ::__construct(): Couldn't fetch mysqli in /var/www/clients/client1/web39/web/system/library/db/mysqli.php on line 10Warning: DB\MySQLi::__construct(): Couldn't在第 10 行的 /var/www/clients/client1/web39/web/system/library/db/mysqli.php 中获取 mysqli
我该如何解决这个问题?