Installing mysql driver

hi
i'm very new to java; i tried to follow a tutorial i've in a book i went to mysql and downloaded mysql-connector-java-3.1.0-alpha.zip. Now i cant indstall it/register.
in my code i get the following error:
TesteJDBC.java [25:1] unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
Class.forName("com.mysql.jdbc.Driver").newInstance();
^
TesteJDBC.java [25:1] unreported exception java.lang.InstantiationException; must be caught or declared to be thrown
Class.forName("com.mysql.jdbc.Driver").newInstance();
^
2 errors
Errors compiling TesteJDBC.
the piece of code:
Class.forName("com.mysql.jdbc.Driver").newInstance();
i'm using the sun ONE Studio 4 update 1
i read the help and followed the instrutions to classpath but it seems doesnt work...
thanks in advance

put the Class.forName("com.mysql.jdbc.Driver").newInstance(); in a try/catch block.
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
//more code...
catch (Exception e) {
//code

Similar Messages

  • How to install MySQL driver for ODI Studio?

    Hi,
    I follow the docs to install driver. http://download.oracle.com/docs/cd/E14571_01/core.1111/e16453/install.htm#CHDBIFAJ
    First I downloaded MySQL Java connector from http://dev.mysql.com/downloads/connector/j/. Then copy the jar file to C:\Users\MyName\AppData\Roaming\odi\oracledi\userlib. But ODI Studio cannot show this JDBC driver, when I created a new Data Server.
    Is there any additional step need to do?

    Hi Sukande,
    Deployment procedure is same irrespective of operating system.
    On AIX, you have to copy the file com.sap.aii.adapter.lib.sda to your desktop and modify using winrar as explained in the below article and copy the modified file back to the respective path on AIX server.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b4a020-4ae6-2c10-5a95-fed4ad9a4b60?QuickLink=index&overridelayout=true
    Thanks,
    Siva Kumar

  • Cant install mysql driver

    hi
    i'm very new to java (just curious)
    i'm following this tutorial on databases and at certain point i've to use the driver
    i went to mysql download this:
    mysql-connector-java-3.0.9-stable wherein is the .jar file.
    i googled a lot in forums and also read the readme and the sun One Studio 4 update 1 (the version i'm using). Cant find a hint on how to solve it, because when i try to compile i get this error:
    "TesteJDBC.java [25:1] unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    ^
    TesteJDBC.java [25:1] unreported exception java.lang.InstantiationException; must be caught or declared to be thrown
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    ^
    2 errors
    Errors compiling TesteJDBC."
    here's the relevant code:
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    i'm using winxp pro, jsdk1.4.1_02 and all the windows updates...
    I tried to mount filesystem and also tried the tutorial on java where i define the classpath, in dos... but that didnt work too.
    Can someone help me please?
    remember i'm very new to this...
    thanks in advance

    thanks for your answer
    i'm not sure about what you exactly mean.
    this code is from a book i'm reading. What should i do in order just to test a code that connects and inserts into a database?
    my code:
    import java.sql.*;
    import java.util.*;
    public class TesteJDBC {
    public static void main(String[] args) {
    Connection conn = null;
    try {
         // mysql-connector-j-2.0.14-bin.jar tem que estar na CLASSPATH
    //String url = "jdbc:mysql://localhost/pedro"; // jdbc:mysql://localhost/Pedro?user=xxxx&password=yyyy caso
    // usassemos controlo de acessos
    String url = "jdbc:mysql://localhost/Pedro?user=root&password=***";
    String xt;
    Statement st;
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    conn = DriverManager.getConnection(url);
    st = conn.createStatement();
    xt = "INSERT INTO Teste (id, valor) " + "VALUES(" + args[0] + ", " + args[1] + ")";
    System.out.println("String exec:" + xt);
    st.executeUpdate(xt);
    catch (SQLException e ) {
    e.printStackTrace();
    catch (ClassNotFoundException e) {
    System.out.println("Classe nao encontrada");
    catch (InstantiationException e) {
    System.out.println("Classe nao instanciada");
    catch (IllegalAccessException e) {
    System.out.println("Acesso Ilegal");
    finally {
    if(conn != null ) {
    try { conn.close(); }
    catch( Exception e ) {}
    thank you again

  • How to install Mysql pdo driver

    We are working on a g5 server, Tried to recompiled PHP 5.2.5 but didn't work, then reinstalled PHP 5.2.4 entropy witch is suppose to have Mysql pdo driver but still doesn't work.
    Please help me I'll do your dishes and wash your car!!!!

    I (still) have the same problem.
    I think that it's coming from the compilated php you used, I mean that your is compilated into 32bits whereas leopard is in 64bits.
    So you have to compile php in 64bits.
    I'm trying to compile the php integrated to leopard, but can't find any sources (like .configure) to do this.
    So I've download new php sources and then, I try a compilation, but I can't find the directory where mysql is installed.
    So I've download a new versions of mysql. But like a noob I install mysql 6 which is an alpha version, then I can't install older vesion of mysql.
    I 'll try a hand install of mysql.
    Try to make a new install of php, mysql and compile them into 64bits.
    You will find easily a 64bit version on mysql website.
    Or you can wait for the entropy package which will support leopard.
    Or if you have a better idea.

  • How can i install jdbc driver

    Hi
    i install websphere 5 and try to connect to my sql server but cannot find jdbc driver class path and can not find any jdbc driver
    pls tell me how can i install jdbc driver in my websphere
    with regards

    You may get a better response posting this question in a WebSphere specific forum. Maybe this will help, the following link shows the command you need to execute to install a JDBC driver in websphere 5.0.
    http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?tab=search&searchWord=mysql+driver&maxHits=50

  • How to install ODBC driver

    I am trying to test very simple JDBC connection. I have a database on my local machine and I just want to run some very basic SQL queries. When I am trying to run following code I am getting error saying ODBC driver is not available. Any help is highly appreciate.
    Thanks in advance
    CODE:
    public class TestJDBC
         public static void main(String[] args)
              try{
                   System.out.println("Hello World!");
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   String url = "jdbc:odbc:<localDB_name>";
                   Connection conn = DriverManager.getConnection(url,"scott","tiger");
                   Statement stmt = conn.createStatement();
                   stmt.executeUpdate("create table testHk(testId number(10), testName varchar2(7) )");
              }catch(SQLException se){
                   System.out.println("Some error while getting Connection to database");
                   System.out.println("Exception is ===" + se.getErrorCode());
                   se.printStackTrace();
              }catch(ClassNotFoundException ce ){
                   System.out.println("Class Name is not found");
    ERROR msg is -
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driv
    er specified
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6026)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6183)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:2453)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:315)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:158)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:172)
    at Hk.TestJDBC.main(testJDBC.java:11)

    Absolutely,
    Your URL will be different, and will be along the
    lines of:
    for ORACLE...
    String url = "jdbc:oracle:thin:@127.0.0.1:1521:sid";['thin' refers to a specific driver that allows you to
    not have an oracle instance running on the client
    machine... port 1521 is teh default, check for
    changes... and 'sid' is your instance name]
    for mySQL...
    String url = "jdbc:mysql://127.0.0.1:3306/sid";[you can guess]
    There will be a driver either incuded with your DBMS
    (you don't say which you have) but u need to either
    place it in your classpath (it will be either a zip or
    a jar), or unpack it and place it in your
    application's codebase (if you plan to jar the whole
    app up and deploy it that way), either way you need to
    refer to the driver class using the following method
    in the constructor:
    for ORACLE...
    Class.forName ("oracle.jdbc.driver.OracleDriver");for mySQL...
    Class.forName ("org.gjt.mm.mysql.Driver");You do not need to instantiate this driver, you are
    just telling the context where it is...
    then all you need to do is...
    Connection con = DriverManager.getConnection(url,
    "user", "password");
    Statement s =
    con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);and you are away!
    Totally platform independent and no messing around
    with ODBC toss
    good luckHI,
    these drivers will be loaded automatically when we install the respective softwares ? or we have to install them explicitly??
    --Bhupendra Mahajan

  • The MySQL driver exception!!

    Hi guys, I got a problem with the MySQL driver. I have installed the MySQL connector to classpath. Then I wrote a test program to test if the driver is working well. This test program showed very thing is working well. This test program can connect the database and pick up data from there.However, when I wrote another program that must be using MySQL, the exception "com.mysql.jdbc.Driver" occured. That looked like the MySQL driver has not been installed well or is not working well. But how this happened? How can I solve this problem???
    Thanks a lot.

    Hi,thanks a lot for ur reply.
    Another problem in this case is that, I have 2 computers running this "problem" program. Acturely, most of job have been done in 1st machine and this "problem" program works very well. Then for some reasons, I gotta move this "problem" program to 2nd machine. At first, I just move the .class file to 2nd machine, but it appears exception"com.mysql.jdbc.Driver". Then I move all the source code and compile it. It also appears the same exception. Does that mean the classpath in 2nd machine has some problems?
    Thanks for any reply.

  • Old mySql driver, or missing something?

    Hi,
    i am a nub in web applications in java.
    I have a system using jrun4 (and tomcat 5 as a second app server), mysql 5, and the java connector driver connector/j 3.1.11 .
    The mysql database is running on port 3306.
    I am trying to make a connection to the database so i ve writen the following simple jsp program:
    <%@ page language="java" import="java.sql.*" %>
    <%
         try {
              String sAddress = (String)session.getValue("ADDRESS");
              String sDatabase = (String)session.getValue("DATABASE");
              String sUsername = (String)session.getValue("USERNAME");
              String sPassword = (String)session.getValue("PASSWORD");
              if (sAddress == null || sDatabase == null || sUsername == null || sPassword == null) {
                   sAddress = request.getParameter("ADDRESS");
                   sDatabase = request.getParameter("DATABASE");
                   sUsername = request.getParameter("USERNAME");
                   sPassword = request.getParameter("PASSWORD");
              // try a connection
              Class.forName("org.gjt.mm.mysql.Driver").newInstance();
              Connection conn = DriverManager.getConnection("jdbc:mysql://" + sAddress + "/" + sDatabase +"?user=" + sUsername + "&password=" + sPassword);
              conn.createStatement();
              conn.close();
              // put connection data into session
              session.putValue("ADDRESS", sAddress);
              session.putValue("DATABASE", sDatabase);
              session.putValue("USERNAME", sUsername);
              session.putValue("PASSWORD", sPassword);
              // proceed with success
              response.sendRedirect("menu.html");
              return;
         } catch (Exception e) {
              out.print("<font color=red><center>" + e.toString() + "</center></font><br>\n");
    %>
    When i try to run it will throw a the following exception:
    java.sql.SQLException: Cannot connect to MySQL server on null:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.UnknownHostException)
    i think that the main reason this is happening is because its trying to find:
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    while the driver connector/j 3.1.11(which is the latest on www.mysql.com)is providing a class name:
    com.mysql.jdbc.Driver
    so i looked and found a very old connector driver: mm.mysql.2.0.12
    which is providing name class: org.gjt.mm.mysql.Driver.
    the problem is still there though...
    Am i missing something????
    Is there a special way to install that driver???
    What step do you think i should follow???
    Do you think its something else that might be responsible????

    Hi,
    i am a nub in web applications in java.
    I have a system using jrun4 (and tomcat 5 as a second app server), mysql 5, and the java connector driver connector/j 3.1.11 .
    The mysql database is running on port 3306.
    I am trying to make a connection to the database so i ve writen the following simple jsp program:
    <%@ page language="java" import="java.sql.*" %>
    <%
         try {
              String sAddress = (String)session.getValue("ADDRESS");
              String sDatabase = (String)session.getValue("DATABASE");
              String sUsername = (String)session.getValue("USERNAME");
              String sPassword = (String)session.getValue("PASSWORD");
              if (sAddress == null || sDatabase == null || sUsername == null || sPassword == null) {
                   sAddress = request.getParameter("ADDRESS");
                   sDatabase = request.getParameter("DATABASE");
                   sUsername = request.getParameter("USERNAME");
                   sPassword = request.getParameter("PASSWORD");
              // try a connection
              Class.forName("org.gjt.mm.mysql.Driver").newInstance();
              Connection conn = DriverManager.getConnection("jdbc:mysql://" + sAddress + "/" + sDatabase +"?user=" + sUsername + "&password=" + sPassword);
              conn.createStatement();
              conn.close();
              // put connection data into session
              session.putValue("ADDRESS", sAddress);
              session.putValue("DATABASE", sDatabase);
              session.putValue("USERNAME", sUsername);
              session.putValue("PASSWORD", sPassword);
              // proceed with success
              response.sendRedirect("menu.html");
              return;
         } catch (Exception e) {
              out.print("<font color=red><center>" + e.toString() + "</center></font><br>\n");
    %>
    When i try to run it will throw a the following exception:
    java.sql.SQLException: Cannot connect to MySQL server on null:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.UnknownHostException)
    i think that the main reason this is happening is because its trying to find:
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    while the driver connector/j 3.1.11(which is the latest on www.mysql.com)is providing a class name:
    com.mysql.jdbc.Driver
    so i looked and found a very old connector driver: mm.mysql.2.0.12
    which is providing name class: org.gjt.mm.mysql.Driver.
    the problem is still there though...
    Am i missing something????
    Is there a special way to install that driver???
    What step do you think i should follow???
    Do you think its something else that might be responsible????

  • Java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver...the same old pr

    Hi,
    I am a new user in this forum..
    I have just installed tomcat and mysql and jdbc fresh on my new system..
    first of all here is what i have done...
    i have installed mysql integrated in xampp at c:\xampp\mysql
    i have installed my tomcat at C:\Programme\Apache Software Foundation\Tomcat 5.5
    i have put jdbc <dirver>.jar file copied in all sorts of directories like ....
    <tomcat_home>\common\lib
    <tomcat_home>\webapps\axis\WEB-INF\lib\ext
    <java_home>\lib
    <java_home>\jre\lib\ext
    my calsspath looks something like this
    .;C:\Programme\QuickTime\QTSystem\QTJava.zip;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\common\lib\mysql-connector-java-5.0.6-bin.jar;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\webapps\axis\WEB-INF\lib\mysql-connector-java-5.0.6-bin.jar;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\common\lib\servlet-api.jar;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\common\lib\jsp-api.jar;C:\Programme\Java\jdk1.5.0_05\jre\lib\ext\mysql-connector-java-5.0.6-bin.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\activation.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\axis.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\axis-ant.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\mail.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\saaj.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\mysql-connector-java-5.0.6-bin.jar
    which is basically all the jar files in the web-inf\lib folder and references to all the copies of driver as mentioned before
    these are results of a lot of desperatio but still the code which i run....
    package mypackage;
    import java.sql.*;
    public class JDBCConnector
    public static void main(String[] arg) throws Exception
         System.out.println("Initiating Database Mysql Connection");
         //try {
                   Statement stmt;
                        //     Register the JDBC driver for MySQL.
                   Class.forName("org.gjt.mm.mysql.Driver ").newInstance();
                        //     Define URL of database server for
                        // database named mysql on the localhost
                        //      with the default port number 3306.
                   String url = "jdbc:mysql://wifh-1.fhso.ch:3306/";
                        //          Get a connection to the database for a
                        // user named root with a blank password.
                        // This user is the default administrator
                        // having full privileges to do anything.
                   Connection con = DriverManager.getConnection(url,"root", "birnExy");
                        //Display URL and connection information
                   System.out.println("URL: " + url);
                   System.out.println("Connection: " + con);
                        //Get a Statement object
                   stmt = con.createStatement();
                        //     Create the new database
                   stmt.executeUpdate("CREATE DATABASE JunkDB3");
                        //Register a new user named auser on the
                        // database named JunkDB with a password
                        // drowssap enabling several different
                        // privileges.
                   stmt.executeUpdate("GRANT SELECT,INSERT,UPDATE,DELETE," +"CREATE,DROP " +"ON JunkDB3.* TO 'nishant'@'localhost' " +"IDENTIFIED BY 'nishant';");
                   con.close();
         //}catch( Exception e ) {
              //     e.printStackTrace();
         //}//end catch
              //return hook;
         }//end main
    }//end class JDBCConnector
    gives the following error.....
    <soapenv:Envelope>
    &#8722;
         <soapenv:Body>
    &#8722;
         <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    &#8722;
         <faultstring>
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    </faultstring>
    &#8722;
         <detail>
    <ns1:hostname>SADMC0087</ns1:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    please help me

    20.05.2007 22:43:26 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.5.0_05\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\QuickTime\QTSystem\;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\Java\jdk1.5.0_05\bin;C:\Programme\Apache Software Foundation\Tomcat 5.5\common\lib;
    20.05.2007 22:43:27 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    20.05.2007 22:43:27 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1203 ms
    20.05.2007 22:43:27 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    20.05.2007 22:43:27 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
    20.05.2007 22:43:27 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    20.05.2007 22:43:28 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive SIpages.war
    20.05.2007 22:43:31 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    20.05.2007 22:43:31 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    20.05.2007 22:43:31 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/109 config=null
    20.05.2007 22:43:31 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    20.05.2007 22:43:32 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4813 ms
    now this is when i run from eclipse where SIpages.war is my war file to be deployed...which looks something like this
    sipages/web-inf/classes
    sipages/web-inf/src
    sipages/web-inf/lib-this has the jar file as you mentioned
    and come other files...nwo where soes my .java file go in this war and how do i compile the java file

  • Including org.gjt.mm.mysql.Driver with my application

    So, lets say I have a Java program that connects to an SQL server and it runs fine on my machine. I have all the nessicarry classpath's and Connector/J properly installed. But, when I run it on a client machine I get:
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.DriverNow, I can solve this issue by putting the Connector/J onto their computer but, I'm wondering if there's a way to package the application and the driver so that anyone can run it without having to install Connector/J manually.
    Any help would be much appreciated.
    Thanks!

    JonasWon wrote:
    So, lets say I have a Java program that connects to an SQL server and it runs fine on my machine. I have all the nessicarry classpath's and Connector/J properly installed. But, when I run it on a client machine I get:
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    That's the old, deprecated JDBC driver class name.
    Now, I can solve this issue by putting the Connector/J onto their computer but, I'm wondering if there's a way to package the application and the driver so that anyone can run it without having to install Connector/J manually.
    Any help would be much appreciated.
    Thanks!"install" it manually? Nobody "installs" a 3rd party JAR. These aren't quite DLLs.
    I'll assume your app is a desktop deployment. Package it into an executable JAR, add the Connector/J JAR to the Classpath in the manifest, and zip that JAR up with the Connector/J JAR. Your users will just unzip the ZIP file and execute the JAR.
    %

  • Stop MySQL 4; Remove it; Install MySQL 5+ version Questions

    I just got a Mac Pro Quad-Core Intel Xeon (64-bit) at my workplace (woohoo!).
    The IT dept. at my work migrated my earlier Mac contents over to it, including the version of MySQL 4.? on the older Mac. I want to remove that older version of MySQL and install version 5.0.8.1 (or whatever is the stable version that should have come with my new computer). I don't have any tables or data on the old version as I am just learning how to do all this, so I am not worried about losing data.
    My plan is to stop the MySQL 4. Remove it from the computer using terminal commands and then download MacPorts and use it to install MySQL 5.
    I ran the command and got the response as follows:
    "sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
    Password:
    Stopping MySQL database server"
    My questions are:
    1. How do I know if it really is stopped? Shouldn't it say "MySQL stopped" or something?
    2. Does it matter if it isn't stop when I remove it?
    3. Is using MacPorts a good way to go to accomplish the new install?
    Thanks for any help you can give me with this.
    Best,
    Shelley
    Message was edited by: Shelley Schreiber
    Message was edited by: Shelley Schreiber

    Thanks baltwo. I actually tried doing that but I still came up with the version 4 of MySQL. I have two hard drives and I partitioned one of them into a Time Machine area and a second system area. When I installed from the CD's into the second system partition, it did not install any version of MySQL.
    So I renamed my version 4 MySQL directory to mysql_backup and removed the version 4. Then I downloaded mysql-5.1.47-osx10.6-x86_64.dmg and installed it. It is now running and I will start the process of assigning passwords and securing it. I did this with the help of Charlie Minow in the Technologies section for Unix.
    My thanks to both of you for your help!
    Best,
    Shelley
    Many thanks for your help,

  • Broken QT mysql driver. -- Cannot start Mythbackend

    Hey guys.
    After updating my system using pacman - (haven't updated MythTV - since I'm running trunk version)
    But suddenly I'm getting this error from the backend log - And everyone says it a broken qt mysql driver - but how to fix it.
    I have removed qt totally and refreshed the package databse - and installed everything from qt from scratch again - but keeps getting this error - and cannot make the the filæes - carse mythTV/MySQL ain't accepting the data and nothing changes.
    2009-06-18 20:41:29.041 mythbackend version: trunk [20138] www.mythtv.org
    2009-06-18 20:41:29.043 Using runtime prefix = /usr
    2009-06-18 20:41:29.043 Using localhost value of core
    2009-06-18 20:41:29.057 New DB connection, total: 1
    [root@core myth]# 2009-06-18 20:41:29.065 Connected to database 'mythconverg' at host: 172.16.20.10
    2009-06-18 20:41:29.065 Closing DB connection named 'DBManager0'
    2009-06-18 20:41:29.067 Connected to database 'mythconverg' at host: 172.16.20.10
    2009-06-18 20:41:29.073 DataDirectProcessor::FixProgramIDs() -- begin
    2009-06-18 20:41:29.078 New DB DataDirect connection
    2009-06-18 20:41:29.079 Connected to database 'mythconverg' at host: 172.16.20.10
    2009-06-18 20:41:29.524 DB Error (Clear setting):
    Query was:
    DELETE FROM settings WHERE value = ? AND hostname = ? ;
    Bindings were:
    :HOSTNAME=core, :KEY=MythFillFixProgramIDsHasRunOnce
    Driver error was [2/1210]:
    QMYSQL3: Unable to execute statement
    Database error was:
    Incorrect arguments to mysql_stmt_execute
    2009-06-18 20:41:29.525 DB Error (SaveSettingOnHost('MythFillFixProgramIDsHasRunOnce') - query failure: ):
    Query was:
    INSERT INTO settings (value,data,hostname) VALUES ( ?, ?, ? );
    Bindings were:
    :DATA=1, :HOSTNAME=core, :VALUE=MythFillFixProgramIDsHasRunOnce
    Driver error was [2/1210]:
    QMYSQL3: Unable to execute statement
    Database error was:
    Incorrect arguments to mysql_stmt_execute
    2009-06-18 20:41:29.525 DataDirectProcessor::FixProgramIDs() -- end
    2009-06-18 20:41:29.527 Current Schema Version: 1232
    No setting found for this machine's BackendServerIP.
    Please run setup on this machine and modify the first page
    of the general settings.
    And when running the setup I'm keep getting the same IP 127.0.0.1 even when changing the setup

    Take a look at the AUR page.  I don't know but there is a post that talks bout using a different opengl catalyst-package.

  • I am trying to install the driver for a Wacom Bamboo Pad. The dmg from Wacom downloadsand will opens, but when I try to install it the message "Install Wacom Tablet.pkg" can't be opened because the Identity of the developer cannot be confirmed"

    iMac late 2009 3,06GHz Intel Core Duo; 500gb hard drive, 12gb memory. OS X 10.8.5 (Mountain Lion)
    '“Install Wacom Tablet.pkg" can't be opened because the Identity of the developer cannot be confirmed.'
    I have been trying to install the driver for a Wacom Bamboo Pad. There are several driver packages listed on the website (the device is supplied ready to run with Windows devices) and I have tried tried downloading all the available drivers which apply to my set-up. Some will not open at all and I get a 'Damaged' message on my screen. Of the ones which open, I can download the .dmg and expand it but when clicked it opens as a window with multiple choice of languages and an icon which instructs you to click to open.
    If I do this some versions repeat the 'damaged' message but the later ones generate a window saying:-
    '“Install Wacom Tablet.pkg" can't be opened because the Identity of the developer cannot be confirmed.' - this is as far as I can get it to go; most frustrating!
    I understand that Apple's security updates have recently included an alteration that causes this result, and that there is supposed to be a legal (i.e. Apple sanctioned) workaround to allow files like this to be opened. If this is so, can anyone enlighten me?

    Many Thanks, Kurt.
    I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
    I shall save it somewhere VERY safe now in case this happens again …
    You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
    Best wishes
    OllyanDinah

  • Installing MySQL on OS 10.8.2

    List members,
       I want to install a MySQL database server on my Intel Mac running OS 10.8.2. I've installed Xcode. I can see the DMG installer for MYSQL 5.6.12 in Xcode.
    Unfortunately I can't progress further; the DMG installer won't open. I get an Apple error message say that non-App Store software can't be installed. Would appreciate any thoughts. Thank you in  advance.
       - Mark Pavlick

    Have a look at Installing MySQL on Lion

  • How do I install ipad2 driver on my computer

    How do I install ipad2 driver on my computer?

    There is no driver to install.  What you need to have on your computer to set up and maintain your iPad 2 is the most recent version of iTunes, which is a free download from Apple.   From this site, click on iTunes and download it......

Maybe you are looking for

  • Finite Pulse Generation for 6608 Counter using Visual C++

    I am trying to generate a finite number of pulses using the counters aboard the 6608 System Timer. I was wondering if anyone knew how to do this. Basically, what I want to do is generate a set of 4 pulses that are synchronized with another pulse, as

  • HT203167 how to add the music once found

    I am unable to create a new playlist on my ipod classic.  I click on the botton right plu sign and it does nothing.

  • Profilemanager website not responding (10.10 Server)

    I can not reach the profile manager website. I think it is an apache problem. I installed Yosemite Server with Open Directory and network accounts. I was able to add all my clients to profile manager and set them up to show the list of users in the l

  • Has your Sum function ever completely overlooked a cell?

    Scratching my head here -- in a simple addition of 9 numbers, the "Sum" function completely overlooks a cell -- anyone else ever experience this? Am I missing something? I enter a dollar amount in each of 9 cells. In the 10th cell, I simply insert th

  • IPod Mail Accounts Syncing Problem

    Hi, I keep getting the following error message when I try to sync my iPod Touch. "iTunes could not sync mail accounts to the iPod "Name" because an error occurred remapping record identifiers. Try syncing your iPod again. If the problem persists, rep