Bonjour! 🙂
Ok i'm actually working with windows NT. I program PHP that executes on a linux server in my compagny (intranet). At that point, everything's fine.
Now, my code has been transfered into an outside linux box, on the internet. I have a new mySQL database that has been created there.
My problem is, from my linux box inside the compagny, i try to connect to the database outside the compagny, so that i can create reports and everything my boss want hehe
Everytime i try so, with root login and password, it says :
Warning: Lost connection to MySQL server during query
in /var/www/html/default/connection.php4 on line 17
Here is the code i use to connect (line 17) :
$connexion = mysql_pconnect(SERVEUR, LOGIN, PSSWD);
where SERVEUR is the IP address, login is root and psswd well, root password.
What am i doing wrong? Could it be firewall or sometin'? Am not good with network stuff...
Thanx,
Jacinthe