If you need to create, edit, and manage MySQL databases, TechRepublic contributor Jack Wallen says Toad is freeware that’s worth a look.
I am constantly deploying web-based applications that require the use of MySQL databases; typically I use MySQL Workbench for this task. If you aren’t fond of that application, there are a number of other options that can help you manage your databases.
One of those options is Toad, which has client tools that can help you manage MySQL, Oracle, Microsoft SQL, and IBM DB2. When connected to one of those databases, Toad allows you to do various things, which include:
The Toad products are free and are only available for the Windows platform. I will demonstrate the use of Toad for MySQL databases. Here’s what you’ll need for this tutorial on Toad for MySQL:
You connect to your database server from the Toad main window (Figure A).
Figure A
To create a new connection, go to File | New | Connection. When the Create New Connection window opens (Figure B), enter the details for the connection.
Figure B
From the Connection Type drop-down, you can select from these types: TCP, Named Pipe, Memory, SSL, SSH, HTTP Proxy, HTTP Tunnel; the TCP connection will often work just fine. If you want to save this connection so you don’t have to re-enter the details each time you want to connect, make sure to fill out the details at the bottom of the window. The categories you can choose from are: None, Development, Production, Test. You can also create your own categories by selecting New Category from the drop-down.
After you fill out all of the required information, click the Save button. This new connection will be listed in the Connection Manager (Figure C).
Figure C
You can set up a connection to specific databases or the entire set of schema on the server. If you connect to a specific database, you must make sure the user connecting has the right privileges for that database.
Upon correct authentication to the database server, the Object Explorer will open along with a new tab for the connected database (Figure D).
Figure D
To connect to a specific database, click the Schema drop-down and select the database. You can now start to work with that database.
The database is now on the server.
You must select the database you want to work with from the Schema drop-down, and then follow these steps:
Figure E
Once the table is created, it will show up in the database Columns view (Figure F).
Figure F
You should continue creating your tables until the database is complete. Once it’s complete, the database is ready to use.