Php pointer reference, php Pointer Reference

Source: Internet
Author: User

Php pointer reference, php Pointer Reference

I seldom write database operations. Now I want to create a mysql hash database. I have encountered many difficulties, more than I imagined. I also learned a lot.

There are two types of authentication passwords for the MYSQL database: MYSQL323 encryption before MYSQL 4.1 and MYSQLSHA1 encryption in Versions later than MYSQL 4.1. The following two functions are provided by MYSQL and can be operated directly in the database.

SELECT Old_Password ('Password'); // MYSQL323 = 5d2e19393cc5ef67

SELECT Password ('Password'); // MYSQLSHA1 = * 2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19

Warehouse receiving is also a big problem. Depressed, come on.

 

 

 

 

 

By the way, many mysql data directories have the permission to read files, and the root hash is in/MySQL/data/mysql/user. MYD.

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.