📜  mysql admin u root p password 修改密码 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:36.598000             🧑  作者: Mango

代码示例2
#Change or update mysql root password
#Go to win cmd and cd into C:\Program Files\MySQL\MySQL Server 8.0\bin
#Then type in the following: (password - current root password)
mysqladmin -u root -p password newpass