hi,
I have a very big problem. from one day to an other I got something very very strang.
All websites didn't work anymore if in the config.php file the host was the server's local ipaddress (192.168.123.123) put if instead you put "localhost" it works.
I never hade this problem, and from one day to an other it didn't work anymore! why?
If I want to to access the database from outsite of the network (over the internet) i get this error message!
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user: 'root@pppoe60-luxdsl-024.pt.lu'
What happend? I did not change any config in php or mysql.
We use PHP 5.0.1 and MySQL 4.0.13 on a Windows 2003. Does someone has an idear?
I use this script
<?php
$db = mysql_pconnect("domain.com","root")
or die ("Error, could not connect to mysql server!");
echo "Yes, you are connected to the mysql server $db";
mysql_close($db);
?>