| 
 Posted by Paul Lautman on 05/03/06 21:34 
I have 2 scripts that both start with: 
<?php 
// Database Connection 
include 'connect.php'; 
 
One of them is fine, but the other gives the error: 
 
Warning: mysql_connect(): Can't connect to local MySQL server through socket  
'/var/lib/mysql/mysql.sock' (111) 
 
Since the same file is being included both times, I can't see why it should  
fail in one case. 
 
Any ideas anyone? 
 
TIA 
Regards 
Paul
 
  
Navigation:
[Reply to this message] 
 |