Error Configuring MySQL

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Error Configuring MySQL

    Basically I am making a website named: familycentral

    I tried to make a data source connection with MySQL, and after reading the
    forums I realized that I needed to download a *.jar file. I followed the
    directions below exactly:

    Download a current, stable version of the MySQL Connector J JDBC driver,
    available at: [url]http://dev.mysql.com/doc/connector/j/en/index.html[/url]
    Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded
    archive file.
    Save the mysql-connector-java-3.{n}-bin.jar file in the cf_root/WEB-INF/lib
    directory.
    Restart the ColdFusion MX server.
    Add a new data source to the ColdFusion MX Administrator, using the driver
    option Other.
    Enter the JDBC URL:
    jdbc:mysql://[host]:[port]/[database]
    Enter the Driver Class:
    com.mysql.jdbc.Driver
    Complete username/password, and adjust other data source settings, if needed.
    Submit the data source for verification.



    After I clicked submit, I get this error:


    Connection verification failed for data source: familycentral
    []java.sql.SQLException: Unable to instantiate logger class
    'com.mysql.jdbc.log.Log4JLogger', exception in constructor?
    The root cause was that: java.sql.SQLException: Unable to instantiate logger
    class 'com.mysql.jdbc.log.Log4JLogger', exception in constructor?


    What does that mean? This website, server, and mysql is completely local, and
    I am running XP pro SP1.

    Your help is much appreciated!

    Anthony

    crazypilot3 Guest

  2. Similar Questions and Discussions

    1. #40498 [Opn->Fbk]: Error Configuring PHP with-imap
      ID: 40498 Updated by: tony2001@php.net Reported By: tbujnowski at ticonnect dot com dot br -Status: Open...
    2. #39638 [NEW]: Configuring PHPIniDir causes error
      From: huichunwuca at yahoo dot com Operating system: Windows XP Home Edition SP 2 PHP version: 5.2.0 PHP Bug Type: ...
    3. Configuring MySQL Server v5
      Hi All, I have installed MySQL Server v5 on a WinXPpe box. IIS is installed and enabled. I next run the configuration program. It will not let...
    4. ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
      When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'...
    5. Configuring Jpgraph on Windows 2000+Apache+PHP+MySql server
      Could someone walk me step by step on how to install and get JpGraph running on a Windows 2000+Apache+PHP+MySql server? -Thanks Jeff
  3. #2

    Default Re: Error Configuring MySQL

    I fixed this same error by rolling back to
    mysql-connector-java-3.1.7-bin.jar

    HTH
    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover Guest

  4. #3

    Default Re: Error Configuring MySQL

    My solution was to return to the download site and get the previous stable version:
    mysql-connector-java-3.0.16-ga-bin.jar
    worked for me and I now have a verified connection to my MySQL 4.1 database

    crazypilot3 Guest

  5. #4

    Default Re: Error Configuring MySQL

    To answer your question about Apache. Apache is a webserver. If you are just
    doing development and for testing, you dont have to have it. However, if you
    are writing an application for a production environment, the CF built in server
    is not recommended. Apache in my opinion is one of your best options for a
    webserver.

    rmorgan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139