Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  How-Tos  >  How can I run SQL queries in phpMyAdmin?
Top Scroll

How can I run SQL queries in phpMyAdmin?

 2 min

The article will guide you on how to run SQL queries in phpMyAdmin.

SQL queries are executed in commands that are issued to the MySQL server to perform various functions. SQL is mostly used by developers to make changes to your database by using appropriate commands.

To execute MySQL query for a database, open the database with phpMyAdmin and then click on the SQL tab.

Perform the following steps to run SQL queries in phpMyAdmin :

1) Login to cPanel.

cPanel myadmin

2) Go to Software and then click on phpMyAdmin.

3) Navigate to the area, where your SQL query appears. Select the database or tables for which you want to run queries.

SQL screen

4) Click the SQL tab.

5) Now type your SQL query here.

6) Click on Go. Your query will get executed.

SQL query execute

The result from a query that we executed is :

SQL query results

Once the SQL query has fired and executed, the command screen confirms that your SQL query has been executed successfully.

Also Read :

How can I connect to SQLite using PHP?

How To Create MySQL Tables In phpMyAdmin?

How to search MySQL tables in phpMyAdmin?

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.