报错信息 : 恢复云数据库MySQL的备份文件到自建数据库,自建数据库版本5.6.36. 按照阿里云文档操作,启动数据库报错
2018-07-12 09:39:56 9411 [ERROR] /application/mysql/bin/mysqld: unknown variable 'innodb_log_checksum_algorithm=innodb' 2018-07-12 09:39:56 9411
2018-07-12 09:39:56 9411 [ERROR] Aborting
解决:
修改backup-my.cnf 配置文件,将报错日志中所有报错的参数都注释掉再启动就可以了
创建用户报错:
Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50518, now running 5
解决:
mysql_upgrade -uroot -p123456
官方文档:https://help.aliyun.com/knowledge_detail/41817.html?spm=5176.11065259.1996646101.searchclickresult.165888cdAJFPnm