Using MySQL with Old Password and Doctrine running with Php 5.4 -
i have been trying use doctrine silex framework. using php 5.4. when try use database, getting error:
an exception occured in driver: sqlstate[hy000] [2000] mysqlnd cannot connect mysql 4.1+ using old insecure authentication. please use administration tool reset password command set password = password('your_existing_password'). store new, , more secure, hash value in mysql.user. if user used in other scripts executed php 5.2 or earlier might need remove old-passwords flag my.cnf file
unfortunately, on shared hosting , not have access mysql
database apply set password
command , update password. hosting provider not willing upgrade it.
i did check threads fix issue - of them ask me run set session
, set password
queries on mysql
database.
is there other way can use doctrine older authentication mysql?
Comments
Post a Comment