MySQL Basic security

Source: Internet
Author: User
Tags sql injection

1. Launch program permissions settings 700, owner and user group is MySQL.

2. Delete the useless user.

2. Set the password for Superuser root.

4. Login is not to expose password, backup script has password settings 700, user group and owner is MySQL or root.

5. Delete the default library test.

6. Do not use% for authorized users. Permissions do not give all, minimal authorization, from the library only to select.

7. Clean up MySQL operation log ~/.mysql_history.

8. Prohibit the development to obtain the Web connection password, prohibit the development obtains the connection Operation Production Library.

9.phpmyadmin safe.

10. The server prohibits setting up an extranet IP.

11. Do not use a user to control all libraries, as far as possible special library.

12. Anti-SQL injection.


MySQL Basic security

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.