Hi all,
How to make a connection
String to connect to JForum db?.as a sample i asks a simple questien.
I m having mysql-4.1.1-alpha as database server.
My username to connect the database is "root" and there is no password.
I m having com.mysql.jdbc.Driver as database driver to connect to database in my classpath and i m using that driver.
I m having a database named "mydatabase".
I wanna use a connection String to connect to that database.i does'nt wanna create a datasource name etc.else i need a connection String to connect to the database.
How to create a connection String?.Or what will be my connection String?.i hav provided all data above to create one.
thanks in advance.
[originally posted on jforum.net by shaba]