This content has been marked as final.
Show 2 replies
-
1. Re: JBoss 2.4.4/MySQL
davidjencks Feb 28, 2002 6:54 PM (in response to matt72537)Cmon, man, give us a CLUE. like the relevant part of the log with the exception.
Usually npe here means wrong config., usually wrong url. Also some dbs, maybe including mysql, need you to supply a username even if they don't use it for anything. Don't know about password. -
2. Re: JBoss 2.4.4/MySQL
matt72537 Mar 1, 2002 10:22 AM (in response to matt72537)Sorry about omitting the log entry...
I did get it working, and I'll pass along a tip for those (myself included) who should know better... When using the mm.mysql driver, make sure that the url is in the form "jdbc:mysql://servername/db" instead of "jdbc:mysql//servername/db" (remember the colon after mysql). It saves head-banging.