- Laragon and DataGrip are installed on this computer — your teacher has set this up, along with a database connection already pointing at your class database. You don't create a new connection yourself.
- You have your H drive (network storage) available — DataGrip stores its connection settings there, which is why your databases are still there when you log back in next lesson.
Setup steps
Laragon runs MySQL in the background. DataGrip is the tool you actually work in — but MySQL must be running first, or DataGrip can't connect.
Start Laragon
Laragon runs the MySQL database server in the background. It must be running before DataGrip can connect to anything — this is the single most common thing pupils forget at the start of a session.
-
a
Open Laragon from the Start menu or desktop shortcut.
-
b
Click the Start All button in the Laragon window.
-
c
Wait for the MySQL indicator to turn green before moving on.
Open DataGrip
DataGrip is the program you'll use to view and query your databases throughout the ISDD strand.
-
a
Open DataGrip from the Start menu.
-
b
If a licence prompt appears, it should connect automatically to the school's licence server. Let your teacher know if it doesn't.
Find your database in the Database Explorer
The Database Explorer is the panel on the left of the DataGrip window. Because DataGrip stores its settings on your H drive, the same connection and any databases you've already built will still be there when you log in again next lesson.
-
a
Look at the panel on the left — this is the Database Explorer.
-
b
Your connection should already be listed. Click the small arrow beside it to expand it.
Open a New Query Console
SQL commands are written and run inside a Query Console, not typed directly into the Database Explorer.
-
a
Right-click your database connection (or the specific database, once you have one) in the Database Explorer.
-
b
Choose New, then Query Console.
Test the connection
Before starting a lesson, run one harmless command to confirm everything is connected properly.
-
a
In the Query Console, type exactly:
SHOW DATABASES;
-
b
Run it by clicking the ▶ (Execute) button, or pressing Ctrl + Enter.
-
c
A results table should appear underneath, listing the databases MySQL currently knows about.
information_schema
mysql
✓ connection working
Troubleshooting
SHOW DATABASES; but got a red error instead of a results table