【发布时间】:2020-08-16 15:09:02
【问题描述】:
我试图访问 phpmyadmin 但发生了这种情况
MySQL said: Documentation
Cannot connect: invalid settings.
mysqli_real_connect(): (HY000/2002): No such file or directory
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No such file or directory
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.
apache 和 mysql 正在运行,我的网站出现这样的错误
Warning: session_start(): open(/opt/lampp/temp//sess_ku01nv1mbiroo8btvpbqjv47f7, O_RDWR) failed: Permission denied (13) in /opt/lampp/htdocs/sisfo/index.php on line 2
有谁知道如何解决这个问题?
【问题讨论】:
-
在问题中包含
namei -m /opt/lampp/temp/sess_ku01nv1mbiroo8btvpbqjv47f7。你的 php 脚本以什么 unix 用户身份运行?
标签: php mysql ubuntu phpmyadmin lampp