NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
how to get debugger to use local SRV?


Joined: 28 Nov 2007
Posts: 1
Location: NY
Reply with quote
new guy, sorry. In the debugger, here's the error, I've tried different things:
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'http' (11001) in C:\webpages\freecarlocator\user\config.php on line 28
Error connecting to MySQL server!
How do I get the debugger to connect to the local server?
Peter
View user's profileFind all posts by peterspmSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'http' (11001) in C:\webpages\freecarlocator\user\config.php on line 28
Error connecting to MySQL server

from the error message the problem is with arguments you passed to mysql function, either mysql_connect or mysql_pconnect. Seems it is called with wrong hostname.

Regarding debugger, you need to install PhpED IDE, open your script in it and press "run with debugger" button.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
how to get debugger to use local SRV?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic