Home > Database > Mysql Tutorial > mysql设置访问权限_MySQL

mysql设置访问权限_MySQL

WBOY
Release: 2016-05-31 08:48:59
Original
1205 people have browsed it

如果想设置其他主机通过密码访问本地mysql,可以设置

GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'passwd' WITH GRANT OPTION;

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