Where is MySQL database located?

0

Hello all,

I'm trying out aws and wasn't able to figure out where exactly is the SQL database located for my Wordpress website. In other hosting companies, it's usually under cPanel. But here in Lightsail, I can't see it anywhere.

I'm running the bare min EC2 instance with Wordpress installed.

Scifice
gefragt vor einem Jahr297 Aufrufe
2 Antworten
1
profile picture
EXPERTE
beantwortet vor einem Jahr
0

To access the database on your Wordpress instance, SSH into the instance and run the following command:

sudo mysql -u root -p

You can get the credentials by running:

sudo cat /home/bitnami/bitnami_credentials

To connect your WordPress website to a MySQL managed database in Amazon Lightsail, follow the steps provided here: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-connect-wordpress-to-mysql-managed-database.

AWS
beantwortet vor einem Jahr

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