Need help for creating local connection string with MySql Server 5.5 & java

Hey,
I can do all manipulation with mysql server database, tables in java, with connection string below:

String url = "jdbc:mysql://localhost:3306/";
String driver = "com.mysql.jdbc.Driver";

Now i want to give the url path as my any local folder path.
for example: I have a database called "study".
then can I access it from my path like "d:/school/databases/study"

Even can I save mysql database to this kind of path??

Thank You very much guys in advance!!

1 answer