摘要:
1、背景: 在向数据库插入数据时,在主键自增时不需要主键字段,但是接下来还需主键进行其它操作 2、实现: 实体类: public class User { private int userId; private String username; private String password; pr 阅读全文
摘要:
SQL导入文件函数无法导入问题 原因 mysql不信任增加的函数 解决办法 再导入含有函数的文件之前,限制性下面两条语句,之后再导入sql文件即可 set global log_bin_trust_function_creators=1; set global sql_mode='STRICT_TR 阅读全文