If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > accessing mysql database of the server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-07-03, 08:44
zhangrong09 zhangrong09 is offline
Registered User
 
Join Date: Nov 2003
Posts: 3
accessing mysql database of the server

hi,

does anyone here knows how to access mysql database of the server thru APPLET? i keep on having this error message:
"java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"

i have this statement on creating a connection
con = DriverManager.getConnection("jdbcdbc://ahrong.no-ip.info:3306;DatabaseName=webdeve");

please help me about this....

Michael
Reply With Quote
  #2 (permalink)  
Old 11-09-03, 06:50
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Why did you use jdbcdbc bridge instead of MySql jdbc driver.
If you run this applet remotly the dns can be not avaible
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On