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
gefragt vor 7 Monaten179 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen