成都创新互联网站制作重庆分公司

创建数据库、业务用户

create database xxx character set utf8 collate utf8_bin;
grant all privileges on xxx.* to 'xxx'@'%' identified by 'pass' with grant option;
grant all privileges on xxx.* to 'xxx'@'127.0.0.1' identified by 'pass' with grant option;
grant all privileges on xxx.* to 'xxx'@'localhost' identified by 'pass' with grant option;
grant all privileges on xxx.* to 'xxx'@'hostname' identified by 'pass' with grant option;
grant select on MySQL.proc to xxx;
grant show databases on *.* to xxx;

文章标题:创建数据库、业务用户
网站URL:http://cxhlcq.com/article/jhehch.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部