首先确定Windows中的MySQL服务没有运行,占用3306端口
/var/log/mysql/error.log中依然报错:
Linux Native AIO interface is not supported on this platform. Please
check your OS documentation and install appropriate binary of InnoDB.
在MySQL的conf文件: /etc/mysql/mysql.conf.d/mysqld.cnf 中的[mysqld]下添加
innodb_use_native_aio = 0
/var/log/mysql/error.log中报错:
Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.
在MySQL的conf文件: /etc/mysql/mysql.conf.d/mysqld.cnf 中的[mysqld]下添加
skip-grant-tables
即:
[mysqld]
innodb_use_native_aio = 0
skip-grant-tables