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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南