标签:data 命令 password name let file user 添加 0.11
mysql -h 10.110.15.120 -u root -p 123***
mysqladmin -u root -password 新密码
,所以-p 旧密码这一项省列。grant 权限1,权限2,权限3...权限n on 数据库名称.表名称 to@用户地址 identitied by ‘密码‘
grant select,insert,update,delete,create,drop on databasename.datatable to guobao@118.86.16.99 identified by ‘mima‘
show databases
导出整个数据库
mysqldump -u user_name -p *** database_name > outfile.sql
导出一个表
mysqldump -u user_name -p *** database_name table_name > outfile.sql
标签:data 命令 password name let file user 添加 0.11
原文地址:https://www.cnblogs.com/guguobao/p/9557633.html