mysql从5.7升级到8.0.22 [错误] [MY-013235]

时间:2020-05-20 11:05:57

标签: mysql mysql-8.0

我正在将Windows 10上的mysql服务器社区版本从5.7升级到8.0.22,我首先运行CheckForServerUpgrade实用程序,收到了一些警告,但确认警告不会影响升级。

现在,启动mysql 8.0服务失败,并出现以下错误:

[ERROR] [MY-013235] [Server] Error in parsing Routine 'ttt'.'Create_compet' during upgrade. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'window = win GROUP BY focal, year ORDER BY focal,' at line 30

2020-05-20T10:11:14.788993Z 2 [ERROR] [MY-013235] [Server] Error in parsing Routine 'tilburg'.'Create_tbl_competitors_window' during upgrade. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'window = win GROUP BY focal, year  ORDER BY focal,' at line 30

2020-05-20T10:11:29.988178Z 0 [ERROR] [MY-010022] [Server] Failed to Populate DD tables.
2020-05-20T10:11:29.990474Z 0 [ERROR] [MY-010119] [Server] Aborting
2020-05-20T10:11:47.537231Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.20)  MySQL Community Server - GPL.

第一个错误涉及视图,第二个错误涉及创建表的过程。

似乎sql语句中引用的“窗口”列是导致错误的保留术语。

如何解决问题或强制升级忽略它们,以便服务可以启动?

0 个答案:

没有答案