1.改动password grant all privileges on *.* to 'root'@'localhost' identified by 'new password'; 2.改动port号 (1)在服务中停掉mysql的服务 (2)在mysql的安装文件夹下,找到 my.ini 文件.改动port号 watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvZXN0ZWxsZV9iZWxsZQ==/font/5a6L5L2T/fontsize/40…