MySQL ERROR 1045,mysql cannot perform batch processing under Linux

Source: Internet
Author: User
Tags mysql backup

Linux under MySQL ERROR 1045:access denied for user: '[email protected]' (Using password:no)

This problem occurs every time MySQL is enabled and then I type the command # Mysql-penter password:welcome to the MySQL monitor. Commands Endwith; or \g.your MySQL connection ID is the Version:4.0.20-standard to Server Type ' help, ' or ' \h ' for help. Type ' \c ' to clear the buffer.

Mysql> to use, but want to give MySQL backup is not possible,

type #mysqldump database>databak.sql to appear rror 1045:access denied for user: '[email protected]' (using Password:no) How can I then type MySQL to use, and can

MySQL for backup

Workaround: Log in to MySQL and execute the following statement: Set password for ' root ' @ ' localhost ' =password ("); flush privileges; and then re-login, up

to your request.

This article from "Blue Home" blog, declined reprint!

MySQL ERROR 1045,mysql cannot perform batch processing under Linux

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.