mysql-User Actions

Source: Internet
Author: User

Description: This article mainly wrote, MySQL for the user some of the operation, there are: View users, create users, permissions to give, retract, the user's password modification and deletion.

  1. View Users:

  2. Create User: Know that there is a user table, so the user is created to insert data into the table. This is really a good way, but, careful you, you can look at the structure of the mysql.user, found that some fields are not the default value, so in the insertion time, you must also write the complete, this is not very good, so, suggest, use the following method.

  3. To test a new user

  4. Grant of permission

    As to what permissions you have, you can look at the structure of the Mysql.user user table.

  5. Recovery of permissions

    Revoke is similar to Grant's syntax, just to replace the keyword "to" with "from"

  6. User's password modification

  7. User's deletion

    Note: If you have any user needs to operate, please leave a message.

mysql-User Actions

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.