MySQL Forums
Forum List  »  PHP

Force PHP5 to use old hashing
Posted by: Matt G
Date: August 11, 2009 12:59PM

I am attempting to connect to my site's mySQL server via my own computer with apache and PHP installed. Initially I had PHP5 installed, and I got the error "mysqlnd cannot connect to MySQL 4.1+ using old authentication." I understand the problem is that my site uses old password hashing. However, I purchased this space, and there is no way for me to change that.

I can login to mySQL just fine with PHP4, but unfortunately I need some of PHP5's features to run an IRC bot. Is there anyway to connect to mySQL using PHP5 but force it to use the old mySQL password hashing like PHP4 used?

Options: ReplyQuote


Subject
Written By
Posted
Force PHP5 to use old hashing
August 11, 2009 12:59PM
August 11, 2009 01:41PM


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.