我一直在经历升级地狱,在我的W10机器上切换到MySQL 8.0。长话短说,在以正常方式升级遇到困难之后,我在Program Files、ProgramData和Usersuser\Roaming\MySQL中卸载了以前的版本和痕迹,并重新安装了8.0.x (最新版本数据文件夹在\ProgramData\MySQL Server 8.0下,但不在\Program Files\MySQL\MySQL Server 8.0下。查看日志文件,我发现错误:“致命错误:无法从表'
comments, shares, uploads, likes我每次都会出错
ActiveRecord::StatementInvalid: Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverversion for the right syntax to use near 'DROP TABLE IF EXISTS _by_