gilbitron / Arrest-MySQL

A "plug-n-play" RESTful API for your MySQL database.
131 stars 219 forks source link

MySQL Old Authentication #15

Open jrock2004 opened 10 years ago

jrock2004 commented 10 years ago

I do not have control of the MySQL server so is there a way to all support for the old protocol so I can connect? Thanks

exception 'Exception' with message '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 /Users/jcostanzo/Work/Development/metrics-api/lib/arrest-mysql.php:64 Stack trace: #0 /Users/jcostanzo/Work/Development/metrics-api/index.php(13): ArrestMySQL->__construct(Array) #1 {main}