mySQL connection help

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

  1. #1

    Default mySQL connection help

    CFusion MX with MySQL 4.1
    steps so far
    1. downloaded mysql-connector-java-3.1.10.zip - no joy
    2. now trying mysql-connector-java-3.0.17-ga.zip
    error is
    Connection verification failed for data source: test2
    []java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    The root cause was that: java.lang.ClassNotFoundException:
    com.mysql.jdbc.Driver

    my config is:
    driver file (mysql-connector-java-3.0.17-ga-bin.jar) is in the
    {CFROOT}\WEB-INF\lib folder
    then...
    DSN Driver Type=other
    JDBC URL=jdbc:mysql://127.0.0.1:3306/talisman
    Driver Class=com.mysql.jdbc.Driver
    Driver Name=empty (is this correct or should this be the filename... neither
    value changes the error, mind you!)

    Any advice exstatically received!
    Helen

    helenmhudson Guest

  2. Similar Questions and Discussions

    1. #40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
      From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ...
    2. mysql connection - pls help
      im using www.dollarhost.com myphpadmin program to create tables in aurorabiomed_com_-_guestbook with tables guestbook and signup. i have the...
    3. MySQL Connection
      Is it possible to create a mySQL database on my local computer and then upload it to my server, and if so what do I need to make sure to do in my...
    4. MySQL 4.1 connection
      Using CFMX 7 on Win XP Home, and have installed latest version of MySQL 4.1.10 I can not seem to make a connection to my database (ows - used in...
    5. MySQL Connection with SSL or TLS
      hello, anyone knows a methode, how I can get a secure Database-Connection from a Director Projektor to a MySQL-Database ? Ok, I can send the Data...
  3. #2

    Default Re: mySQL connection help

    The correct place is in the {cf_root}/runtime/servers/lib directory if you're using CF Standard edition.

    The JRun internals will load either .jar or .zip.

    Stephen Dupre
    Macromedia QA
    sdupre Guest

  4. #3

    Default Re: mySQL connection help

    1. there is no lib folder under {cf_root}/runtime/servers
    2. i added one and pasted the mysql-connector-java-3.0.17-ga-bin.jar into it,
    but i still get the same error after restarting
    3. if i play around and type in an incorrect database name, i get a different
    error.... " ....please check your username, password, URL, and other
    connectivity info."

    Any other info I can try?
    Helen





    helenmhudson Guest

  5. #4

    Default Re: mySQL connection help

    just downloaded the latest dev version mysql-connector-java-3.2.0-alpha-bin.jar
    - popped it into C:\CFusionMX\wwwroot\WEB-INF\lib
    and bob is your mother's brother!
    - works both ways, specifying a data type of MySQL, or Other

    Thanks for the help!

    helenmhudson 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