Huskehhh / MySQL

Simple JDBC MySQL database wrapper for Java
MIT License
69 stars 51 forks source link

Allow connecting to MySQL without specifying a database #13

Closed Reginhar closed 8 years ago

Reginhar commented 8 years ago

Currently, we have to specify a database when connecting using MySQL, which isn't necessary. We can also connect to MySQL without specifying the database. The SQL queries will then need to specify the database, e.g. use "SELECT * FROM database.table;" instead of "SELECT * FROM table;". This allows the user to connect to multiple databases using one instance of the MySQL class by specifying the database in the query rather than in the URL.

markhughes commented 8 years ago

:+1:

Huskehhh commented 8 years ago

+1