Conflicts between MySQL Server and Client in Ubuntu

Source: Internet
Author: User

I wrote the LAMP configuration document for Ubuntu only. Today I cannot enter my mysql. It's a strange thing!

It's also strange to say that, in the same configuration steps, the broken machine in the unit, how can we be so obedient? The new second milk in the family cannot be transferred!

After the instance is started, the mysql server does not start automatically. In this case, do you need to exercise your hands-on skills ~

But the problem is that I did not have such a command when I knocked on mysql:

The program 'mysql' can be found in the following packages:
* Mysql-client-core-5.1
* Mysql-client-5.0
* Mysql-cluster-client-5.1

Well, even though I didn't know how to get in yesterday, since I had to install a client, I just had to install it.

Under apt-get install, you can install it. After installation, you can try again. Even the server won't be able to get up ......

I searched the internet and said that it was because of a conflict between my. cnf and Daniel.

Think about it. in/etc, there is a server and a client.

Remove the client under apt-get remove, delete the/etc/mysql/folder, and start the server ~

This time I am not playing well. I am not playing well with mysql in the root directory any more. I'll go to bin and try again. OK, go in!

In the past, mysql server had a login program, namely the bin/mysql command. I have another client ..

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.