NetBeans and MySQL
By octav on Jan 28, 2008
Sun's recent announcement to acquire MySQL, reminded me that I actually have a copy of MySQL installed on my Mac. I've done that a long time ago, when I was experimenting with Wordpress (the blogging software) and to easily deal with the compatibility issues of MySQL & PHP, I installed the MAMP software.
I knew that NetBeans bundles the Connector/J JDBC driver, so I wanted to find out how easy would it be to point NetBeans to the MySQL database used when I originally setup Wordpress.
In a nutshell, it was an easy process. I used the "New Connection" wizard on the "Services" (Database node) tab in the IDE and just used the custom port (8889) used by Wordpress, rather than the default one used by MySQL (3306). As it is always the case, a screen shot tells the story better.