Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

configure jdbc mysql jbuilder ?

  Asked By: Bryant    Date: Dec 19    Category: Java    Views: 1058
  

im confusing to setting jdbc mysql in jbuilder
so far
i have configured my jbuilder with :
tools->enterprise setup->database driver->add
mysql-connector-java-2.0.14-bin.jar
and then i tried to connect using database pilot
cause there was no driver mysql list in database pilot i tried to add diver
:
view->option->drivers->add

diver class : com.mysql.jdbc.Driver
sample Url : jdbc:mysql://localhost/toko

and then i made new connection :
file->new
driver : com.mysql.jdbc.Driver
url : jdbc:jdbc:mysql://localhost/toko
then i try to connect and fill the password
and there was an error like this:

The URL:jdbc:jdbc:mysql://localhost/toko could not be found
Check for misspelling and than the right driver is present on the classpath

please help me !!!!!
i use win xp in drive e , jbuilder 9,
database name : toko at e:\\mysql\\data\\toko

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Lu Fischer     Answered On: Dec 19

Just check your URL

jdbc:jdbc:mysql://localhost/toko

chance it for that
jdbc:mysql://localhost/toko


in the configuration of the DatabasePilot chance your sample url  for
mysql://localhost/toko
if not Jbuilder will add  jbdc: for all your new connections then you will need
to remove it

 
Didn't find what you were looking for? Find more on configure jdbc mysql jbuilder ? Or get search suggestion and latest updates.




Tagged: