Home > Database > Mysql Tutorial > MySQL 5.0迁移到MariaDB 10.0.2存储过程无法迁移解决_MySQL

MySQL 5.0迁移到MariaDB 10.0.2存储过程无法迁移解决_MySQL

WBOY
Release: 2016-06-01 13:33:04
Original
912 people have browsed it

MariaDB

bitsCN.com

MySQL 5.0迁移到MariaDB 10.0.2存储过程无法迁移解决

一直使用MySQL 5.0。最近导入一批大数据表后,数据库变得奇慢无比。原因是InnoDB引擎性能硬伤。遂升级数据库,升级到MariaDB 10.0.2(个人学习总是拿最新的,更多版本看https://downloads.mariadb.org/)。MySQLdump导出导入。一直报[ERROR] Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted。存储过程一直导不进去。原因是两个版本的mysql.proc表结构不一样。
MySQL 5.0 的mysql.proc表结构:

MySQL 5.0迁移到MariaDB 10.0.2存储过程无法迁移解决_MySQL
Maria  10.0.2 的mysql.proc表结构:


MySQL 5.0迁移到MariaDB 10.0.2存储过程无法迁移解决_MySQL
不想升级MySQL 5.0。用HeidiSQL导出时不导存储过程。导完数据后再从MySQL数据库copy CREATE code 到 Maria数据库上执行一下。

MySQL 5.0迁移到MariaDB 10.0.2存储过程无法迁移解决_MySQL
总算完成了迁移,不容易啊。

bitsCN.com
Related labels:
source:php.cn
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