当前位置:首页 > PHP教程 > PHP总结归纳

mysql安装后批改端口号和密码

mysql安装后修改端口号和密码 1.修改密码 grant all privileges on *.* to 'root'@'localhost' identified by 'new password'; 2.修改端口号 (1)在服务中停掉mysql的服务 (2)在mysql的安装目录下,找到 my.ini 文件,修改端口号

mysql安装后修改端口号和密码

1.修改密码

grant all privileges on *.* to 'root'@'localhost' identified by 'new password';

2.修改端口号

(1)在服务中停掉mysql的服务

 

(2)在mysql的安装目录下,找到 my.ini 文件,修改端口号

.syntaxhighlighter{padding-top:20px;padding-bottom:20px;}
【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!