Edit SQL file for import
Step 4 of the Move a Managed WordPress site to an unmanaged WordPress account series.
Required: You'll need a text editor to make the necessary changes in this SQL file. There are many third-party text editors available, we recommend Notepad++. Do not edit the file in a word processing application like Microsoft Word.
Before you can import the SQL file downloaded in
- Locate the SQL file that you exported.
- Open the file with the text editor of your choice.
- Locate the following lines and delete them:
-- -- Database: `example-database-name` -- CREATE DATABASE `example-database-name` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `example-database-name`;
- Save the changes.
The file is ready to be imported in the next step.
More info
- You can find more information in the official WordPress documentation.