aaaaargh grr coldfusion mysql connection

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

  1. #1

    Default aaaaargh grr coldfusion mysql connection

    Hi

    I am trying to connect a new databse mysql4.1 and colfusion 6.1. I have
    followed the technote :
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]

    but i get the error:

    []java.sql.SQLException: No suitable driver available for emp, please check
    the driver setting in resources file, error: com.mysql.jdbc.Driver
    The root cause was that: java.sql.SQLException: No suitable driver available
    for emp, please check the driver setting in resources file, error:
    com.mysql.jdbc.Driverysql-connector-java-3.{n}-bin.jar file in the
    cf_root/WEB-INF/lib directory

    Can anyone please help. It would be much appreciated. Gonna chuck my laptop
    through an open window soon!!!! Cheers in advance!
    Duncan:confused;

    duncno1 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. flex coldfusion connection
      can anybody tell me how to upload an image and sent it across to some server which will store that image and other descriptions associated with it...
    3. Connection between ColdFusion and MySQL
      We are running ColdFusion MX on SunOS 5.8 with MySql located on the same server. If we write any new information into the database, our ColdFusion...
    4. DSNLESS CONNECTION for COLDFUSION 4.0
      Is there anywy to have a dsnless connection for COLDFUSION 4.0? I have seen a couple scripts out there but when i try them it errors on me. I...
    5. DataBound Checkbox aaaaargh!!!!
      Hey folks, I am stumped on this one any help would be greatly appreciated... I have probabley tried every article on google.... Error...
  3. #2

    Default Re: aaaaargh grr coldfusion mysql connection

    duncno1 wrote:
    > Hi
    >
    > I am trying to connect a new databse mysql4.1 and colfusion 6.1. I have
    > followed the technote :
    > [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]
    >
    > but i get the error:
    >
    > []java.sql.SQLException: No suitable driver available for emp, please check
    > the driver setting in resources file, error: com.mysql.jdbc.Driver
    > The root cause was that: java.sql.SQLException: No suitable driver available
    > for emp, please check the driver setting in resources file, error:
    > com.mysql.jdbc.Driverysql-connector-java-3.{n}-bin.jar file in the
    > cf_root/WEB-INF/lib directory
    >
    > Can anyone please help. It would be much appreciated. Gonna chuck my laptop
    > through an open window soon!!!! Cheers in advance!
    > Duncan:confused;
    >
    That "no suitable driver" error means it can't find the driver. Try
    putting the JAR file path and name (yes, include the actual file name of
    the JAR file) in your CF classpath directly, or if that doesn't work,
    you can try unjarring the jar file and putting the path to the exploded
    jar file contents in your CF classpath.

    Matt

    --
    Matt Woodward
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  4. #3

    Default Re: aaaaargh grr coldfusion mysql connection

    I recently followed the process described in the attached technote to configure
    a MySQL database as a datasource for my MX 7 development server, and it worked
    the first time.

    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19170[/url]

    Phil

    paross1 Guest

  5. #4

    Default Re: aaaaargh grr coldfusion mysql connection

    :D Thanks guys sorted now! i owe you one. Have taken my laptop away from the window sill.
    duncno1 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