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

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

WBOY
Release: 2016-06-07 16:25:22
Original
1229 people have browsed it

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';
Copy after login

2.修改端口号

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



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



Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template