mysql 总结(MySQL summary)

1 mysql8.0版本,修改数据库密码:

alter  user ‘root’@’localhost’ identified by ‘新密码’;  https://www.cnblogs.com/dahuzuidai/p/14870324.html

5.7版本的http://c.biancheng.net/view/7152.html

2 将 .sql文件导入 数据库

https://blog.csdn.net/weixin_37887248/article/details/80897230

 source  sql文件的路径(注意你的文件路径要是复制来的,要将”\”全部换成“/”)

————————

1 mysql8.0 version, modify the database password:

alter  user ‘root’@’localhost’ identified by ‘新密码’;  https://www.cnblogs.com/dahuzuidai/p/14870324.html

5.7版本的http://c.biancheng.net/view/7152.html

2. Import the. SQL file into the database

https://blog.csdn.net/weixin_37887248/article/details/80897230

source   SQL file path (note that if your file path is copied, replace “\” with “/”)