MYSQL 5.0 connection

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

  1. #1

    Default MYSQL 5.0 connection

    i had follow the instruction

    Note: Connector/J version 3.1.11 and higher cannot be used with ColdFusion MX
    7 because of MySQL bug 13469. Connector/J 3.1.10 should be used instead for
    ColdFusion MX 7 until this MySQL bug is fixed. All -Connector/J version 3.0
    releases and all version 3.2 releases work with ColdFusion MX 7.

    -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.


    but still got error occurs :

    ???????????????????: hm_account
    java.sql.SQLException: Cannot connect to MySQL server on hm:3306. Is there a
    MySQL server running on the machine/port you are trying to connect to?
    (java.net.UnknownHostException)
    ????? :java.sql.SQLException: Cannot connect to MySQL server on hm:3306. Is
    there a MySQL server running on the machine/port you are trying to connect to?
    (java.net.UnknownHostException)




    utardylan 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 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...
    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 5.0 connection

    Is the MySQL service running? Check in Control Panel => Administrative Tools =>
    Services. Is there a subdirectory in the data directory of your MySQL
    installation, that has the same name as the [database] setting in your
    JDBC URL?



    BKBK Guest

  4. #3

    Default Re: MYSQL 5.0 connection

    the newest driver works with 5+... 3.1.13
    and that previous bug has been fixed in the 3.1.13 driver. I use the
    latest driver for connections to 4.0, 4.1 & 5.0 on my dev box.
    As BKBK suggested, make sure MySQL is running, no firewall issues, port
    number is correct, etc.
    HTH,
    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover 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