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

mysql设置访问权限_MySQL

WBOY
WBOYOriginal
2016-05-31 08:48:591198browse

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

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

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