[英]AWS Aurora MySql Server
Created an AWS RDS Aurora server.创建了一个 AWS RDS Aurora 服务器。 Copied database from another active AWS RDS Instance.从另一个活动的 AWS RDS 实例复制的数据库。 Created Aurora server can be accessed by a MySql client app.创建的 Aurora 服务器可以通过 MySql 客户端应用程序访问。 And can also delete table records, which will be the normal tasks eventually.并且还可以删除表记录,这最终将是正常的任务。 The problem is I cannot access a website pointed to the Aurora server.问题是我无法访问指向 Aurora 服务器的网站。 Error message: Unable to connect to database server.错误消息:无法连接到数据库服务器。 The MySQL error was: Bad handshake. MySQL 错误是:握手错误。 Settings.php already contains the correct username and password information. settings.php已经包含了正确的用户名和密码信息。
Advance thank you for any assistance.预先感谢您的任何帮助。
This is likely because of the version mismatch of MySQL server that leads to the failed authentication.这可能是因为MySQL服务器版本不匹配导致认证失败。 You are either:你是:
The newer MySQL versions might use a different protocol for the connection, thus causes the bad handshake issue when there's a version mismatch.较新的 MySQL 版本可能使用不同的连接协议,因此在版本不匹配时会导致握手错误。 For example, using MySQL 8.0 on your local environment might not be able to connect to the server using MySQL 5.7.例如,在本地环境中使用 MySQL 8.0 可能无法连接到使用 MySQL 5.7 的服务器。
To solve this problem, you should:要解决这个问题,您应该:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.