Answer the question
In order to leave comments, you need to log in
Why does mysql(i)_connect connect by ip but not by the same host?
To check I made a simple file:
<?php
mysql_connect("8x.xxx.xxx.xxx", 'bd', "xx") or die("Could not connect: " . mysql_error()); ;
mysql_select_db('bd') or die ('Can\'t use foo : ' . mysql_error());
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question