- 工信部備案號 滇ICP備05000110號-1
- 滇公安備案 滇53010302000111
- 增值電信業務經營許可證 B1.B2-20181647、滇B1.B2-20190004
- 云南互聯網協會理事單位
- 安全聯盟認證網站身份V標記
- 域名注冊服務機構許可:滇D3-20230001
- 代理域名注冊服務機構:新網數碼
1.用默認賬號密碼登錄MySQL服務端
[root@domin ~]# mysql -u root -p
2.切換到mysql庫
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
3.執行更改密碼的語句
mysql> update user set password=password('landui') where user='root';
Query OK, 3 rows affected (0.01 sec)
Rows matched: 3 Changed: 3 Warnings: 0
4.刷新權限表
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
5.現在退出就可以用新密碼登錄啦~
mysql> exit;
Bye
售前咨詢
售后咨詢
備案咨詢
二維碼
TOP