Support > cpg1.6 install
Where and how do you specify the mysql.sock location
tonyofpureevil:
My installation is purely local on a laptop.
This means web server, mysql (mariadb), and php are all installed locally.
mysql is configured to not use networking, so socket communication is necessary.
the webserver is chrooted so I need to configure the socket in cpg1.6.06 as seen by the webserver
I have already configured phpMyAdmin and WordPress to work this way with no problem
None of the configuration tricks used by those applications work for Coppermine.
I can find no Coppermine documentation that shows how to do this.
help
ron4mac:
Just "localhost" doesn't work?
tonyofpureevil:
localhost does not work as mysql is configured with NO network access allowed.
ron4mac:
Use of 'localhost' with mysqli should open a UNIX socket.
https://www.php.net/manual/en/mysqli.quickstart.connections.php
tonyofpureevil:
Yes, but in the wrong location. Re-read OP
Navigation
[0] Message Index
[#] Next page
Go to full version