MySQL database connection problem: MySQL 4.1+ using the old insecure authentication

Source: Internet
Author: User
Using the light cloud server provided by WAN, the following information is prompted when connecting to MySQL database: server [qdm-011.hichina.com] Connection failed!
Error code: 2000
Error message: MYSQLND cannot connect to MySQL 4.1+ using the old insecure authentication. Administration tool to reset your password with the command SET password = password (' Your_existing_password ' ). This would store a new, and more secure, the hash value in Mysql.user. If This user was 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

How to solve, the key is also can not find the way to operate server-side MySQL ah?


Reply to discussion (solution)

MySQL is 5.6, and you're still using 4.1?
PHP5.2 at least mysql5.0+

It seems that your password is not safe to login .... So the connection error occurs. I want you to reset the password. A different way to sign in

The MySQL version of the web is 5.1, and the host control Panel using the WAN network is available to log in to phpMyAdmin.
Baidu has a solution to the problem, there is said to reset the password, but how to reset it? Set in phpMyAdmin? No related description ....

Did you solve the problem, please? I have also encountered such a problem.

Resolved after selecting the PHP5.3 version environment on the WAN network.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.