Home  >  Article  >  Database  >  mysql安装后批改端口号和密码

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

WBOY
WBOYOriginal
2016-06-07 16:25:221187browse

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 文件,修改端口号



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:mysql5.5卸载重装不已Next article:mysql分区部类