Home > Database > Mysql Tutorial > mysql5.1.37升级到5.5.3遇到的问题_MySQL

mysql5.1.37升级到5.5.3遇到的问题_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:47:07
Original
1043 people have browsed it

bitsCN.com 在升级完后,导入之前备份的数据
 1.导入数据时报错, Cannot 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;
 然后再创建。 bitsCN.com

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template