Q:

Is it possible in mySql to have a user determined path as connection URL

The connection url which we all use for mySql in java is :-
Connection c = DriverManager.getConnection("jdbc:mysql://localhost/THE_DB", "root", ""); 

But I want to know that is it possible to use a url like C:\\Documents\\Folder\\THE_DB as the connection URL?  If yes, then please tell me what the connection URL would be...

A:

The database URL provided in the getConnection(String url) method should follow the database driver unified network resource syntax:

jdbc: subprotocol: subname

Note that each driver may have its own subprotocol and each subprotocol may have its own syntax for the source.