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.
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.