mysql> use mysql;
mysql> update mysql.user set authentication_string=password('123456') where user='root';
mysql> flush privileges;
C:\ProgramData\MySQL\MySQL Server 5.7\my.ini
The TCP/IP Port the MySQL Server will listen on
port=3306
mysql> use mysql;
mysql> update mysql.user set authentication_string=password('123456') where user='root';
mysql> flush privileges;
C:\ProgramData\MySQL\MySQL Server 5.7\my.ini
port=3306
本文标题:mysql修改密码和端口
本文链接:https://www.haomeiwen.com/subject/owkecxtx.html
网友评论