Connect Java to a MySQL database

Here’s a step by step explanation how to install MySQL and JDBC and how to use it: Download and install the MySQL server. Just do it the usual way. Remember the port number whenever you’ve changed it. It’s by default 3306. Download the JDBC driver and put in classpath, extract the ZIP file and put … Read more