摘要:
先通过命令行进入mysql的root账户: 更改加密方式 ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; 更改密码 ALTER USER 'root'@'localhost' IDENTIFI 阅读全文
posted @ 2023-11-16 09:46
朝阳1
阅读(128)
评论(0)
推荐(0)
摘要:
package main import ( "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "math/big" "net" "os" "time" ) func main() { max := n 阅读全文
posted @ 2023-11-16 09:39
朝阳1
阅读(59)
评论(0)
推荐(0)
摘要:
1:有账号的情况下 use mysql; update user set Host = '%' where User='root'; flush privileges; 2:无账号的情况下,grant 命令重新创建一个用户 grant all privileges on *.* to root @" 阅读全文
posted @ 2023-11-16 09:30
朝阳1
阅读(11)
评论(0)
推荐(0)