when I tried to restore all database dump which is in 5.0 version to 5.6 version, it got restored and after that when I tried to reconnect, am getting the following error
Best thing to do is to reset your user password to the new hashing algorithm
With workbench: http://blogs.technicise.com/change-root-password-in-mysql-workbench/
Command line: http://www.cyberciti.biz/faq/mysql-change-root-password/
Using the way like rayVenues but you should change your password connection, it will work fine :)
On the command line, use something like the following, if you have no choice...
mysql -uTheUseerNAme -pThePassword DbName -h HostName --skip-secure-auth
Hope this helps someone, as this was my problem connecting from a Linux box
For MySQL Workbench 6.08 in the Manage Server Connections, Connection tab, Advanced sub-tab you must check the box 'Use the old authentication protocol.'
I've got same problem in Centos 7 with MySQL. If i try to connect by mysql client:
ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
Bu in my case if I specify:
--skip-secure-auth
it cause error message:
ERROR 1275 (HY000): Server is running in --secure-auth mode, but 'root'@'localhost' has a password in the old format; please change the password to the new format
It work only when i specify:
in /etc/my.cnf
[mysqld]
...
secure_auth=false
and then restart mysqld
I had similar issue, but using MAC Terminal connecting remote MySQL db.
Solution: I create a new user with less special characters, that problem disappeared.