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
posta 7 mesi fa179 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande