1、打开cmd窗口,输入mysqladmin -u root -p password 12344 12344就是你将要设置的密码 2、回车 3、如果原来有密码,就输入原来的密码,如果原来没有密码,就直接回车,就ok了 相关文章: