1.在终端下:mysql -V. [root@localhost bin]# mysql -V; mysql Ver 14.14 Distrib 5.6.21, for Linux (x86_64) using EditLine wrapper [root@localhost bin]# mysql -v; ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 注意,这里是大写字母V~…