I managed to find no bugs in JDBC connecting to MySQL.
Though, my program was not complex, but I had all of JDBC up and running in about 30 mins, though I did have one problem, but I think that was my own mistake in writing the SQL code for creating a user, a created user wasnāt able to see the database I created (I thought i granted all permissions for the database to the user). But it worked fine when I used root instead.
EDIT:
I did notice a flaw with MySQL Command Line, and MySQL Workbench though, as we had to swap implementations with another group.
I used the Command Line, and wrote my SQL scripts in Notepad++, where the other group used MySQL Workbench.
MySQL Command Line will let you go with some errors, where Workbench is really strict.
E.g.
If you use Timestamp as a data type in MySQL, Workbench requires a default date, where the Command line does not require you to specify the default date.
So we had an issue where they didnāt want to use the Command Line to avoid the error, so they edited the SQL script. well, 1 out of the 3 people in there group didnāt want to use the Command Line.
It was really only query the database, as full implementation of our designed system would of taken longer then we had, as well as all the test cases and other various testing we need to do.
It was only a uni assignment, so I left it as root access, because we had to supply the .java files to allow others to modify the username, password and IP of the database if required.