📅  最后修改于: 2022-03-11 15:05:23.840000             🧑  作者: Mango
[madegow@fedora20 ~]$ mysql -u root -p
Enter password:
...
MariaDB [(none)]> select user()
-> ;
+----------------+
| user() |
+----------------+
| root@localhost |
+----------------+
1 row in set (0.00 sec)
MariaDB [(none)]> system mysql -u madegow -p
Enter password:
...
MariaDB [(none)]> select user();
+-------------------+
| user() |
+-------------------+
| madegow@localhost|