MySQL X. X Command Line Client flash Problem

Source: Internet
Author: User
Tags mysql command line

MySQL X. X Command Line Client: After I install MySQL (I installed MySQL 5.5), use MySQL 5.5 Command Line Client, it's always a flash. I checked it from the Internet and found a temporary solution. The displayed MySQL> window appears after I click mysql 5.5 Command Line Client. The temporary solution is as follows: i,
First, go to cmd to switch to the MySQL installation directory, then enter the bin directory, and enter the mysqld-nt -- skip-grant-tables command. Do not close this cmd window first. open another window to log on to MySQL or directly open MySQL Command Line Client and enter the correct password! Www.2cto.com 2. On your WINDOWS Server, first press [start], then [run], Enter cmd, press enter, and then in the DOS form, cd to the \ MySQL Server 5.1 \ bin directory (Press enter to press the Enter key), if you do not know where the Enter key is. Then mysql-u root-p (Press ENTER ). Later, I found a solution that I thought was permanent, and found that my was not in the installation directory. ini. Later, I found it in my user directory, copied it, and found the MySQL Command Line Client shortcut. Right-click it and view its attributes, as shown in figure

Then, change "-u root" "-p" to "-u root-p", where root is the user name. It can also be "C: \ Program Files \ MySQL Server 5.5 \ bin \ mysql.exe ". Of course, the modification methods vary for different systems and users. Author ywl925

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.