Home > Database > Mysql Tutorial > body text

一句话开启mysql root外连_MySQL

WBOY
Release: 2016-06-01 13:47:32
Original
1106 people have browsed it

bitsCN.com

如果遇到了 服务器开启了 3306 端口,但是不允许root外连的情况,我们可以在shell里面执行如下的语句来开启root用户的外连,方便我们提权。
GRANT ALL PRIVILEGES ON *.* TO root@% IDENTIFIED BY root密码 WITH GRANT OPTION;


摘自独自等待博客

bitsCN.com
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