mysql修改密码和端口
2017-06-27 本文已影响39人
2b75747cf703
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