Skip to content

Commit 319483f

Browse files
committed
Change password
1 parent cd993c0 commit 319483f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function sidebarDatabase()
5151
text: "MySQL",
5252
items: [
5353
{text: "MySQL 用户授权", link: "/database/mysql/grant-privileges-to-user"},
54+
{text: "修改 MySQL 用户密码", link: "/database/mysql/change-password"},
5455
]
5556
}
5657
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 修改 MySQL 用户密码
2+
3+
```sql
4+
set password for `database_username`@localhost = password('your_new_password');
5+
```

0 commit comments

Comments
 (0)