Mysql addition Error

Source: Internet
Author: User

Mysql addition Error

For example, add a user

Insert into mysql. user (Host, User, Password) values ("localhost", "test", password ("1234 "));

Error:

ERROR 1364 (HY000): Field 'ssl _ cipher 'doesn' t have a default value ERROR


For MySQL 5.6 and later versions, I operate on MySQL.


The correct method is as follows:

Grant usage on *. * TO 'user01' @ 'localhost' identified by '000000' with grant option;

User: user01, password: 123456, so that a new user is added and no error occurs.



An error occurred while creating a mysql user.

The myweb. user database does not exist. Please create this table,
If you want to update the System in mysql. user

An error occurred while adding data to the MySQL database.

Post error information

Related Article

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.