mysql创建 schema
create schema xxx_sdm default character set utf8 collate utf8_general_ci;–创建数据库
use xxx_sdm; --使用此数据库
grant select,insert,update,delete,create on xxx_sdm to root;–用户授权数据库
flush privileges;–立即启用配置
drop schema zzz;–删除数据库
create schema xxx_mgr default character set utf8 collate utf8_general_ci;–创建数据库
grant select,insert,update,delete,create on xxx_mgr to root;–用户授权数据库
flush privileges;–立即启用配置
修改mysql数据库密码
ALTER USER USER() IDENTIFIED BY ‘123456’;
navicat 导入sql文件 箭头指向勾选取消掉 报错会停下来
此时可以把导入的sql文件直接复制到sql执行界面执行 定位错误