MySQL Forums
Forum List  »  PHP

Re: problem to connect mysql database
Posted by: Peter Brawley
Date: March 10, 2006 10:17AM

Make a .php page that says <?php phpinfo(); ?>, run it, and look at Client API version under the heading 'mysql'. It's probably old, ie it uses the pre-4.1 protocol.

Download Connector/PHP from the MySQL site, bring down Apache, follow the instructions, restart Apache. Alternatively, change your login query to say

SELECT ... WHERE username = ... AND password=OLD_PASSWORD( ... )

PB

Options: ReplyQuote


Subject
Written By
Posted
Re: problem to connect mysql database
March 10, 2006 10:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.