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
已提問 1 年前檢視次數 296 次
2 個答案
1
profile picture
專家
已回答 1 年前
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
已回答 1 年前

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

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

回答問題指南