gaodaima.com 在升级完后,导入之前备份的数据
1.导入数据时报错, Cann
本文来源gao!daima.com搞$代!码#网#
ot load from mysql.proc. The table is probably corrupted,这个是升级版本导致的。
解决办法:mysql_upgrade -u root -p
2.完整导出一个库(包括触发器,存储过程等)的参数
mysqldump –skip-lock-tables –single-transaction –opt –extended-insert=false –triggers -R
3.创建函数时报错,ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
解决办法:set global log_bin_trust_function_creators=TRUE;
然后再创建。 gaodaima.com