You should try to do a :
mysql_connect($host, $user, $password) or die(mysql_error());
to have an error message. It will be easier to find an answer from that I think.As I told you if it's the password problem you will have "Client does not support authentication protocol" for example.
From: Jeff Mao <[EMAIL PROTECTED]> To: mysql@lists.mysql.com Subject: RE: php conection problems Date: Fri, 11 Feb 2005 11:29:17 -0500
HI All,
I'm back,...I've removed MySQL completely and reinstalled it using the binaries for Mac OS X 10.3+ from the mysql website. I still have a Client API version of 3.23 in the phpinfo() while I see 4.1.9 from the command line.
I can get things to work using the Old_Password suggested earlier,...
Is this a Mac OS X thing? Or is this normal? Do all the rest of you have newer version of MySQL recognized by php/apache?
Thoughts? Thanks in advance Jeff -- ************************ Jeff Mao [EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]