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 ..