Re: JDBC connection to MySQL

2002-05-07 Thread William R. Mussatto
On Tue, 7 May 2002, George Pitcher wrote: Date: Tue, 7 May 2002 06:15:28 +0100 From: George Pitcher [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: JDBC connection to MySQL Just a guess, but how about an ampersand? Connection c = DriverManager.getConnection

JDBC connection to MySQL

2002-05-06 Thread Patmua1
Hello, I've been struggling with this for two weeks, I can't seem to find the answer wherever I look whether in the core mysql book or the documentation on what variables, if any go between parameters(user and password) as in: Connection c =

Re: JDBC connection to MySQL

2002-05-06 Thread George Pitcher
Just a guess, but how about an ampersand? Connection c = DriverManager.getConnection(jdbc:mysql://localhost/dbName?user=usernamepas sword=password); George - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 07, 2002 5:11 AM Subject: JDBC connection

jdbc connection to mysql in linux

2001-07-17 Thread shane
this is my code: import java.sql.*; import java.util.*; public class Connected { public static void main (String[] args) throws Exception{ Connection con = null; try{ String url = jdbc:mysql://localhost:3306/mydatabase;