xiaohua.Wang

导航

2019年2月11日 #

MySQL 权限相关

摘要: # mysql 权限相关 grant 权限1,权限2,...权限n on 数据库名称.表名称 to 用户名@用户地址 identified by '连接口令';# 创建应用账号grant all privileges on *.* to 'root'@'localhost' identified b 阅读全文

posted @ 2019-02-11 19:52 晓之月 阅读(79) 评论(0) 推荐(0) 编辑

MySQL 还原

摘要: ## sql 还原:mysql -default-character-set=utf8 -h127.0.0.1 -uroot -pxxxxxx test2 < /data/test/db/20190202/test2.sql ## souce 还原:mysql>use test2;mysql>sou 阅读全文

posted @ 2019-02-11 19:46 晓之月 阅读(175) 评论(0) 推荐(0) 编辑