Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Migrating a WordPress Site to Amazon RDS

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: Thu, Aug 11, 2016, 1:16 PM


Overview

Given a typical Wordpress installation i.e., with MySQL running on the local machine this article will outline the steps to migrating the MySQL instance to Amazon RDS.

Procedure

1. Launch an RDS instance

2. Ensure security group rules on the RDS instance allow inbound traffic from the web server on the MySQL port (typically 3306).

3. Create a "backup" of the legacy database.

On the Linux instance
mysqldump --opt -u root -p database > database_YYYYMMDD_HHMM.sql

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.