4 messages in com.mysql.lists.win32RE: New to MYSQL | From | Sent On | Attachments |
|---|---|---|
| Arun Sitaraman | 12 Jan 2005 12:10 | |
| John L.Utz III | 15 Jan 2005 16:45 | |
| Reggie Burnett | 15 Jan 2005 18:47 | |
| John Bonnett, R&D Australia | 16 Jan 2005 14:16 |
| Subject: | RE: New to MYSQL ![]() |
|---|---|
| From: | John Bonnett, R&D Australia (jbon...@sola.com.au) |
| Date: | 01/16/2005 02:16:46 PM |
| List: | com.mysql.lists.win32 |
There is quite a bit in the MySQL documentation about start up problems in Windows. You can also try it out not as a service to see if you get any error messages. Depending on how far it gets there is also a log which may have helpful messages. It has also been discussed in this mailing list. Check the archives. I guess your point 2 is not worth checking until you resolve 1.
John Bonnett
-----Original Message----- From: Arun Sitaraman [mailto:ar...@efycaci.com] Sent: Thursday, 13 January 2005 6:41 AM To: win...@lists.mysql.com Subject: New to MYSQL
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
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




