database changed from MySQL to MariaDB for no reason.

0

Hi people this is urgent please, I have a Lightail instance and it has a snapshot, the instance is connected with MySQL. I wanted a backup up so I created another instance, the new instance came with an issue error Error establishing a database connection.

after investigation and checking in the SSH, it returns to me that the instance database is MariaDB. how is that possible when the original one is MySQL? and I still don't know how to connect to this database ?! if this is the case now how to fix the error and access the instance? urgent help, please.

amani
已提问 7 个月前179 查看次数
1 回答
0

Hello.

By the original database, do you mean the database installed within Lightsail?
If you are creating a Lightsail instance from a snapshot, I don't think the installed database will change.
Therefore, MariaDB may be installed on the Lightsail instance that was the source of the snapshot.

If you want to change the connection destination to RDS, you need to edit "wp-config.php" according to the steps in the document below.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-connect-wordpress-to-mysql-managed-database

profile picture
专家
已回答 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则