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

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

WBOY
Release: 2016-06-01 13:17:08
Original
1234 people have browsed it

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