Dear All,
I use mm.mysql.jdbc to access mysql in Java. To get the connection, the
following sentence is writen in my program. But an error occurred.
I guess that the syntax is wrong. Could you please give me the correct
one.
Connection conn =
DriverManager.getConnection(jdbc:mysql://localhost/RegistrationDB?user=libing;password=123456");
My requirements are as follows,
I need to create a database, RegistrationDB, after getting connected
with MySql. The username is libing and password iis 123456.
Thanks!
Li Bing
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php