Are you sure, MySQL is listening on port 3360? The default is 3306 ...
Anyway, the syntax reads:

        jdbc:mysql://localhost:3360/MovieCatalog

If MySQL is listening on the default port, this would be sufficient:

        jdbc:mysql://localhost/MovieCatalog

And since you are only connecting to localhost, you don't even have to
specify a host. So this should be enough:

        jdbc:mysql:/data/MovieCatalog

Hope this helps

Michael


-----Ursprungliche Nachricht-----
Von: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]Im Auftrag von Vasudev Ram
Gesendet: Freitag, 7. September 2001 19:13
An: [EMAIL PROTECTED]
Betreff: Re: Again urgent Porblem


not sure if it'll help (don't know mysql), but try putting the (actual, not
127..) IP address of the m/c.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Othmar Stehlik
Sent: Friday, September 07, 2001 10:31 PM
To: [EMAIL PROTECTED]
Subject: Again urgent Porblem


Hi

Again, Win98 sucks, mysql does not work
The Test Programm can load the JDBC Driver, but it cant Connect to the
Database.
This is my url for Connecting: "jdbc:mysql:localost:3360//MovieCatalog"
On Win2k everything worked fine!
I also tried it with jdbc:mysql:127.0.0.1:3360//MovieCatalog"
And insted of the localhost, I used the name of the machine.

As anybody an idea?
Thanx in advance!
Othmar

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to