MySQL清空数据库的操作:truncate table tablename; MySQL 赋予用户权限命令的简单格式可概括为:grant 权限 on 数据库对象 to 用户 一、grant 普通数据用户,查询、插入、更新、删除 数据库中所有表数据的权利。 grantselecton testdb.*to common_user@'%'grantinserton testdb.*to common_user@'%'grantupdateon testdb.*to common_user@'%'gran…