mysql version number MySQL Ver 14.14 distrib 5.1.73, for Redhat-linux-gnu (x86_64) using ReadLine 5.1 system is centos6.5
The problem is: Mysql-u Enter a non-existent user can log in to the database
the data in the Mysql.user library is:
mysql> Select User,password from user;
+------+-------------------------------------------+
| user | password |
+------+-------------------------------------------+
| root | *6bb4837eb74329105ee4568dda7dc67ed2ca2ad9 |
| cat | *6bb4837eb74329105ee4568dda7dc67ed2ca2ad9 |
+------+-------------------------------------------+
2 rows in Set (0.00 sec)
experiment Log in false:
Connection ID:
-
Current database:
Current User:
[email protected] #false Login Successful general user Rights
SSL:
not on use
Current Pager:
stdout
Using outfile:
"'
Using delimiter:
;
Server Version:
5.1.73 Source Distribution
Protocol Version:
Ten
Error failures roughly like this as long as the safe initialization can be a novice attention to the things (especially no one to bring the novice, self-study really very pit hey) mysql_secure_install
CentOS version comes with MySQL installation considerations