CFMX 7 and mySQL 5 configuration

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

  1. #1

    Default CFMX 7 and mySQL 5 configuration

    All,

    I need help getting the CF 7 admin to recognize mySQL 5 on Windows XP on my
    local machine. I know that mySQL is working properly. I'm not familier with
    mySQL so I'm not sure where the problems is. Any help would be very appreciated!

    Thanks Robert

    jkdfjk Guest

  2. Similar Questions and Discussions

    1. CFMX 7.0.2 initial configuration woes
      Hi, I've just installed the dev version of 7.0.2 on XP SP2 and am having problems runnig the initial configuration. It's a jRun 4 (multiserver)...
    2. mySQL connection with CFMX
      i'm using CFMX , mysql 5.0 , mysql-connector-java-3.1.13 how do i set the connection... 1) do i need to add the driver into the ODBC ? 2)...
    3. CFMX to MySQL 4.1 connection
      :confused; Has anyone an idea on why CF administrator would fail when attemping to connect to a new Data Source? CFMX and MySQL installed on the...
    4. CFMX + mySQL
      Hello there, I have just installed CFMX 7 developer edition + mySQL 4.1.12a on my local winXP pro machine. I also downloaded the JDBC for mySQL....
    5. Easiest CFMX and Web Server configuration
      I'm developing a demo application which uses a web server as its controller. Since I am on windows xp, using the built-in IIS, I can not have more...
  3. #2

    Default Re: CFMX 7 and mySQL 5 configuration

    I assume you are trying to create a datasource? Can you post your settings and
    any error message you receive?

    Without knowing your exact problem, I would generally suggest checking the
    following:

    - Make sure the mySQL service is running (XP may be different, but try:
    Control Panel -> Services -> mySQL)
    - Verify that you can successfully log into mySQL from the command line
    - Make sure any firewalls are not blocking the mySQL port (Typically port 3306)
    - Download the appropriate connector jar for mySQL 5 and follow the
    instructions here:
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253[/url]


    mxstu Guest

  4. #3

    Default Re: CFMX 7 and mySQL 5 configuration

    Yes the service is running, I can control data through the command line. I'm
    not running any firewalls unless there is something in XP I don't know about.
    The error message is this:

    Connection verification failed for data source: myDB
    java.sql.SQLException: Cannot connect to MySQL server on (local):3306. Is
    there a MySQL server running on the machine/port you are trying to connect to?
    (java.net.UnknownHostException)
    The root cause was that: java.sql.SQLException: Cannot connect to MySQL server
    on (local):3306. Is there a MySQL server running on the machine/port you are
    trying to connect to? (java.net.UnknownHostException)

    Thank you for your help!


    jkdfjk Guest

  5. #4

    Default Re: CFMX 7 and mySQL 5 configuration

    I think XP comes with a built-in firewall, so you may need to configure it to
    allow access.

    The error message sounds like maybe you're using the driver that comes with
    MX, which is old. Try following the instructions in the link I posted above.

    You will need to download the mySQL Connector jar. I think the current
    stable version is 3.1.11, but some people have had problems with it, due to
    [url]http://www.sargeway.com/blog/index.cfm?mode=entry&entry=62[/url]. I would suggest
    trying another version first. I'm currently using mySQL 4.1, but have had
    success with both 3.1.17 and 3.1.19. I think both versions work with mySQL 5
    as well.

    You can find other versions of the jar at most of the FTP mirror sites listed
    on the mysql.com site. For example:

    [url]ftp://ftp.orst.edu/pub/mysql/Downloads/Connector-J/[/url]
    [url]ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/Connector-J/[/url]

    mxstu Guest

  6. #5

    Default Re: CFMX 7 and mySQL 5 configuration

    I just want to say thanx for your help I finally got CF to recognize MySQL. I
    haven't actually performed a query but I'm sure it will work. Your instructions
    helped fix the major problem but I also found that my username wasn't correct.
    If you don't assign a username MySQL will assign "root" as the default. As soon
    I completed your directions and enter "root" as the username, both CF and
    Dreamweaver verified the connection.

    Again thank you so much!

    jkdfjk 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