• 授权:

   格式:grant 允许操作 on 库名.表名 to 账号@来源 identified by '密码'; 

• 备份:

    mysqldump -u root –p 数据库名 [表名] > 文件名.sql

• 恢复:

    mysql -u root –p 数据库名 < 文件名.sql
Last modification:March 27th, 2018 at 01:21 am
If you think my article is useful to you, please feel free to appreciate