December 1st, 1999, 12:12 PM
MySQL works fine on linux prompt.
PHP2 scripts works fine from web browser with
Appache 1.3.9 PHP mod enablesd.
Now I am trying to extent the PHP3 sript
with MySQL functions, I am getting errors
Cannont access sever "localhost";..
Can't access /tmp/mysql_sock..
Any help ?
Thanks in advance..
December 30th, 1999, 11:49 AM
Try creating the file it's looking for manually as root.
January 10th, 2000, 07:44 PM
you have to START your mysql server for the socket to appear - if your mysql is in /usr/local the command would be something like this:
Make sure you have a valid user and password in your script that is trying to access mysql.