江山川资讯

Mysql常用的操作命令

时间:2020-11-14 阅读:2211 来源:江山川

CREATE DATABASE IF NOT EXISTS 数据库名称;

2.新增用户

create user '用户名称'@'localhost' identified by '登录密码';

GRANT all privileges ON 数据库名称.* TO '数据库名称'@'localhost' identified by '登录密码';

flush privileges;


成都江山川科技有限公司 总部