jdbc:mysql://<hostname>:3306/<database>?user=<username>&password=<password>
However on a design front I would never personally look up a database connection in a JSP. Others may disagree. -----Original Message----- From: Cengiz Yazgan [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 11:46 To: 'Tomcat Users List'; 'Tomcat Users List' Subject: mysql connection with JSP Hi everybody I want to connect a mysql database with jsp code. Can anybody help me to write a connection string. Thx. Cengiz YAZGAN Sistem Mühendisi/System Engineer DorukNet Tel / Phone : +90 212 326 92 00 / 447 Fax : +90 212 227 28 11 E-mail : [EMAIL PROTECTED] http://www.doruk.net.tr http://www.doruk.net.tr/english.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]