If you’re getting tired of downloading huge software packages, playing with them for hours, and still not even reaching the point that you can run your own queries, here’s what might be a faster way:
Following these steps should get you to the point that you can start running MySQL queries through a query window, as well as providing a graphical view if that is what you also desire.
-
Download XAMPP (it’s about 44 meg).
(I assume you’re running Windows. Just download the EXE).
-
Run the EXE, and install XAMPP in to a directory (eg, c:\xampp)
-
You’ll now need to create a small command file that will give you a query window. Here’s one way to do it:
- Open Notepad
- Copy and paste the following to the notepad file:
(If you installed XAMPP in to a directory other than c:\xampp, you’ll need to change the path accordingly).
- Click ‘Save As…’
- Next to ‘Save as Type’ (could also be ‘File Type’), change it to ‘All files’
- Name the file startMySQLMonitorUser.cmd
- Save the file, make sure you place it in your XAMPP directory
Now… start XAMPP (use the xampp_restart.exe to do this). Wait a few moments for it to start. THEN double click your startMySQLMonitorUser.cmd file. You might be prompted for a password, but just press Enter.
Fingers crossed… you now have yourself a query window. To make sure it’s working, run this simple query (by typing it in to the query window)
This command will show you all databases in your MySQL set up (MySQL comes with two or three default databases, if memory serves correct).
If you’d like a graphical representation of the databases, make sure XAMPP is running, and then point your web browser to:
http://localhost/phpmyadmin/
Your databases should be listed down the left hand side.
You can Google around for MySQL tutorials to get you started on learning database concepts. As has been explained in this thread already, the actual SQL syntax is virtually the same, regardless of which SQL software you are using, so you will be able to port these skills to any other SQL platform.
Need any further help, let me know. Be sure to close XAMPP when you are finished using it.