View all Products Close Menu Menu
Running SQL Queries in PHPMyAdmin
Updated Friday February 5th 2021 / Category Web Hosting

Before proceeding

Please be advised that this is an advanced guide, if you do not feel comfortable manually running SQL queries yourself, you may need to consult a web developer.

Before running any queries, you should take a backup of your database using PHPMyAdmin’s export functionality. There is the potential for data loss if SQL queries are running incorrectly.

Running an SQL query

Here are the steps you need to take in order to run an SQL query using PHPMyAdmin:

  1. Log in to cPanel.
  2. Click on PHPMyAdmin under Databases.
  3. Click on the:
    1. Database name you want to run an SQL query under, to the left of the page; OR
    2. Database name, and then the table you want to run an SQL query under, to the left of the page.
  4. Click on the SQL tab at the top of the page.
  5. A box will appear under Run SQL query/queries on table/database examplename.
    This is where you will input your SQL queries.
    PHPMyAdmin Run SQL Query
  6. Write or paste your query, then click Go to run it.
  7. Results and/or errors will then appear on the next page.
Can’t find the answers you're looking for? Check out these other methods of support!