openimsdk / open-im-server

IM Chat
https://openim.io
Apache License 2.0
13.73k stars 2.42k forks source link

Bug: MySQL error when switching AliCloud RDS to MySQL on AliCloud ECS #1530

Closed WillHu closed 8 months ago

WillHu commented 9 months ago

What happened?

iShot_2023-12-07_16 43 43 iShot_2023-12-07_16 45 55 I try to migrate the database from Alicloud RDS to MySQL on ECS. The only change in the config.yaml is shown on the above image, changing the host address of the MySQL. Then after I use the command 'docker-compose restart 'to reboot the service, errors on the above image will show.

What did you expect to happen?

OpenIm 2.3.6 should work only when changing the host address of MySQL.

How can we reproduce it (as minimally and precisely as possible)?

Use Alicloud RDS and the MySQL on ECS.

Anything else we need to know?

No response

version

OpenIM 2.3.6

Cloud provider

Alicloud

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

kubbot commented 9 months ago

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

skiffer-git commented 8 months ago

MySQL has already been removed