Navicat8: how to create a database and assign permissions to users _ MySQL

Source: Internet
Author: User
Navicat8: create a database and assign permissions to users. graphic method: Navicat

In bitsCN.com, we need to create a data and a user method. the graphic operation principle is the same as the command line principle.

Navicat 8 Lite version (7 M) MYSQL image management tool V8.0.28

Step 1: Connect to mysql first. if the connection fails, the mysql database is not started or the password is incorrect. You can solve this problem.

Step 2: first create a database jb51



Step 3: enter jb51. The following are the default characters. Generally, you can use gbk by default. For utf8, it is best to select the desired characters to prevent garbled characters.

Step 4: Create a jb51user user. click manage user and then add user.
Step 5: After creating a user, click Expand to see multiple databases. you can select the database jb51 we created above. here we use bbsjb51 as an example, mainly to see the special database permission, generally, you can select all. for security purposes, you can set permissions in more detail. For example, only select is allowed.
BitsCN.com

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.