Re: mysql hangs on connection attempt

2006-07-18 Thread Gerald L. Clark
Steve Strong wrote: we are using php to connect to our mysql database and when we call the php function with this line: $dbh = mysql_connect("localhost", "george_full", "passwd") or die (formatSQLError("")); george_full has full priveleges on localhost with his password. localhost resolves to

Re: mysql hangs on connection attempt

2006-07-18 Thread Steve Strong
here is the entire function: function readonlyConnect() { $dbh=mysql_connect ("localhost", "george_readonly", "tiWhs!asAt!") or die (formatSQLError("")); mysql_select_db ("george_crwash2"); return $dbh; } a die() statment before the first line of code in this function ech

Re: mysql hangs on connection attempt

2006-07-18 Thread Daniel da Veiga
On 7/18/06, Steve Strong <[EMAIL PROTECTED]> wrote: we are using php to connect to our mysql database and when we call the php function with this line: $dbh = mysql_connect("localhost", "george_full", "passwd") or die (formatSQLError("")); That's the only line of your .php script? george_f