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
질문됨 일 년 전296회 조회
2개 답변
1
profile picture
전문가
답변함 일 년 전
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠