A couple of things that I noticed right off the bat:
1. Is
test the name of the table or database?
You should have the name of the database in your url.
2. The MySQL server runs on port 3306 by default. Have you changed that? If not, then you need to include a colon and the port number right after localhost.
You may also have to set a user property and a password property if the database has a user name and password. Your syntax appears to be correct.