摘要: mysql> truncate tables; 例如: mysql> truncate email_managements; rails 命令操作: ActiveRecord::Base.connection.execute("TRUNCATE TABLE #{table_name}") 阅读全文
posted @ 2020-11-04 18:06 吕兴杰 阅读(273) 评论(2) 推荐(0)
摘要: 创建mysql用户: mysql> create user 'cadae_test'@'%' identified by 'daydayUP666888$$$'; 分配权限: mysql>grant all privileges on *.* to 'cadae_test'@'%'; 重新收集权限: 阅读全文
posted @ 2020-11-04 18:04 吕兴杰 阅读(110) 评论(0) 推荐(0)