User Manuals

Learn how to use WordPress – and take advantage of its advanced features.

  • Setup, Usage & Integration

Running an SQL Code on your WordPress Database

There will be times when you install a plugin when the auto-install fails to add the db table(s) for you.  This is more likely if you install a plugin on a network that is running Mutli-DB.

This means you will need to run the SQL code in the “sql.txt” on your WordPress database.

Plugins that may require you to complete this step include this instruction on their WPMU DEV installation page. You use the “sql.txt” file contained in the zip file you downloaded.

[non members only]small-450-banner1[/non members only]
[members only]

Run the SQL code in “sql.txt” on your WordPress database as follows:

1. Log into your cPanel
2. Scroll down to the database section and click on phpMyAdmin

Image of MyPHPadmin in cPanel

3. Click on the name of the database you want to run the SQL code on

4. Click on the ‘SQL’ tab

5. Copy/paste the entire contents of the sql.txl into the Run SQL queries on database and then click Go.

6. If successful you should see a message saying that the query has been executed successfully.

Image of successful SQL query

[/members only]

See Next: Enabling Access to the Plugins Menu Network-wide