4 messages in com.mysql.lists.win32Re: New to MYSQL
FromSent OnAttachments
Arun Sitaraman12 Jan 2005 12:10 
John L.Utz III15 Jan 2005 16:45 
Reggie Burnett15 Jan 2005 18:47 
John Bonnett, R&D Australia16 Jan 2005 14:16 
Subject:Re: New to MYSQL
From:John L.Utz III (jo@utzweb.net)
Date:01/15/2005 04:45:58 PM
List:com.mysql.lists.win32

Hello Arun;

At Wed, 12 Jan 2005 12:10:58 -0800, Arun Sitaraman wrote:

Hi,

I am running mysql4.0.20d on XP. The installation is under c:\mysql. The
Connector/J installation is under
c:\mysql\mysql-connector-java-3.0.14-production. Please help me resolve the
following problems. Thanks in advance for your assistance.

This is the first time I am attempting to do the following:

1. Run this as a service (I can run this manually, not problem there) Error message: Could not start MySQL on local computer Error 1067: The process terminated unexpectedly

perhaps i am misunderstanding something here, but it seems that 2. will fail as a result of 1. failing....how could you get connectivity to something that isnt working?

2. Trying to run a small JDBC sample from the web to check the connectivity import java.sql.*;

public class jdbcExample {

public static void main(String args[]) { Connection con = null;

try { Class.forName("com.mysql.jdbc.Driver"); con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "root", "");

if(!con.isClosed()) System.out.println("Successfully connected to " + "MySQL server using TCP/IP...");

} catch(Exception e) { System.err.println("Exception: " + e.getMessage()); } finally { try { if(con != null) con.close(); } catch(SQLException e) {} } } }

Error: Exception: com.jdbc.mysql.Driver