Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.0.23
-
Fedora Workstation 23
Description
Hey guys,
I am trying to setup a LAMP server on my computer, all is installed, but when I try to access the MariaDB using PHP, it gives me: mysqli_connect(): (HY000/2002): No such file or directory, I asked PHP and they said that is because MariaDB is not creating a mysql.sock file, I tried adding
socket=/tmp/mysql.sock
|
To my.cnf, but it doesn't get created, I also tried changing:
PrivateTmp=true
|
To false and still nothing.
Without that file I cannot conenct to it using the computer name or localhost, instead I have to use the IP of the computer.
What can I do?
Thanks