|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
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 like this... Cannont access sever "localhost";.. Can't access /tmp/mysql_sock.. Any help ? Thanks in advance.. |
|
#2
|
|||
|
|||
|
Try creating the file it's looking for manually as root.
|
|
#3
|
|||
|
|||
|
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:
/usr/local/mysql/support-files/mysql.server start Make sure you have a valid user and password in your script that is trying to access mysql. -ken |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > MySQl-PHP-Appache-Linux Query? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|