RE: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread yanghshiqi
Make sure that your ip is granted too. Best regards, Shiqi Yang -Original Message- From: Bruce Gilbert [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 11:27 PM To: php-general@lists.php.net Subject: [PHP] cannot connect to MySQL server and not sure why I am having trouble c

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Kristen G. Thorson
MySQL authentication is user+host+password. Make sure user brucer_webmaster has host 69.90.88.155. kgt Bruce Gilbert wrote: I am having trouble connecting to MySQL server through a PHP script and I am not sure why. the error I receive is: Warning: mysql_pconnect(): Access denied for us

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Richard Davey
Hello Bruce, Thursday, July 14, 2005, 4:27:12 PM, you wrote: BG> ?php BG> $database="bruceg_search"; BG> $mysql_user = "bruceg_webmaster"; BG> $mysql_password = " password"; BG> $mysql_host = "server-10.existhost.com"; BG> mysql_pconnect ($mysql_host, $mys

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Raz
Bruce, looks like >mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); wants to read $success = mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); Raz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Stephen Johnson
Where do you populate $success ? It looks too me that $success would always be empty no matter whether you connected or not. On 7/14/05 8:27 AM, "Bruce Gilbert" <[EMAIL PROTECTED]> wrote: > mysql_pconnect ($mysql_host, $mysql_user, $mysql_password); > if (!$success) > -- Stephen Johnson T

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread John Nichel
Bruce Gilbert wrote: I am having trouble connecting to MySQL server through a PHP script and I am not sure why. the error I receive is: Warning: mysql_pconnect(): Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /hsphere/local/home/bruceg/inspired-evolution.com/search/includ