The port is 3306. Also the user and password are to be separated my a comma(,) and not a semi colon (;) as your present code has. ----- Original Message ----- From: "Peter Barraud" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 12:00 PM Subject: mySQL > Hi, > Sorry for this out of topic question. I am trying to connect to a mySQL > database. The docs for the driver that I installed say that the driver url > should be > jdbc:mysql://hostname:port/db?user=name;password=secret > what is "port", should there be a web server running on this machine > any help will be appreciated > pb > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
