Quantcast
Channel: HostGator Peer Support Forums
Viewing all articles
Browse latest Browse all 12024

MySQL Password Hashing (PHP 5.2 vs 5.3)

$
0
0
I've just began working on a desktop application (that will run from PHP CLI) that needs access to a MySQL database that one of my sites uses. At this time, it only works properly with PHP 5.3 for me. However, the MySQL extension for PHP 5.3 requires that the MySQL server is using a newer and more secure password hash. It appears that HostGator is not using this new hashing method yet, so I am not able to connect to the database at all with PHP. Instead, I receive the following error:

Quote:

Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in C:\Users\Nick\Documents\...\core.php on line 44
I have tried running "SET PASSWORD = PASSWORD('same_password');" from the affected MySQL user to no avail.

Does HostGator have any plans to bring this up to date? If not, is there any way that this issue could be resolved through technical support?


Reference:
http://www.experts-exchange.com/Data..._26531470.html

Viewing all articles
Browse latest Browse all 12024

Trending Articles