Linux中登录mysql

输入 mysql -u root -p

然后输入密码,就能登录

root@zrt2:/home/zrt2# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.

posted @ 2024-08-15 09:43  张懿鸾  阅读(44)  评论(0)    收藏  举报