Stored Procedures mySQl 5, CFMX 6.1

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

  1. #1

    Default Stored Procedures mySQl 5, CFMX 6.1

    Hi Folks,

    Today we went about upgrading one of our servers to mySQL 5 in order to use
    the delights of stored procedures on our new application.

    Installation was fine and all datasources were getting picked perfectly (using
    the mysql-connector-java-3.0.16-ga-bin.jar driver to connect, as we had
    installed this for mySql 4.1). Everything works fine except stored procedures
    from CF (using the <cfstoredproc> tag) which gives the following error message.

    Error Executing Database Query.
    Callable statments not supported.

    While trying to find a solution i read that the 3.0.16 drivers didnt support
    stored procedures as these function were not implemented in mySQL when they
    were released. Fair enough i thought and proceeded to upgrade to
    mysql-connector-java-3.1.12-bin.jar (the latest version availible on
    mySQL.com). Unfortunately all this does is give another error when trying to
    perform any query.


    Unable to instantiate logger class 'com.mysql.jdbc.log.Log4JLogger'


    Has anyone got stored procedures working successfully in mySQL 5 with CFMX 6.1?

    If so, please shed a little light on what drivers etc. you ended up using.

    Cheers

    James

    WeeJames Guest

  2. Similar Questions and Discussions

    1. #39727 [NEW]: Commands out of sync error when calling MySQL stored procedures from PHP
      From: edoardo at wbr dot it Operating system: Linux PHP version: 4.4.4 PHP Bug Type: MySQL related Bug description: ...
    2. Troubles in stored procedures (mySQL) in CFMX7
      Hi, i'm using for the first time stored procedures in MySQL 5.0.18 and as database client i'm using ColdFusion MX7. The trouble is that the...
    3. Problem with MySQL 5.0.18, replication and stored procedures
      Hello everybody out there, I've got a problem with MySQL 5, stored procedures and replication. I've searched the MySQL Documentation and the web...
    4. cf 7 and mysql 5 stored procedures and temporary tables
      We developed some stored procedures in mysql 5.0.10a that work with coldfusion 7. We upgraded the mysql database to the GA Release of 5.0.15 and...
    5. New to ASP and Stored Procedures
      Hi I have some experince with ASP and databases in General, however Stored Procedures are new. I need to call a stored procedure and have bene...
  3. #2

    Default Re: Stored Procedures mySQl 5, CFMX 6.1

    For completeness.... and anyone who finds this thread in the near to
    distant future...

    The only way ive found to get around this problem is to use the 3.2.0
    Connector J drivers. At the moment they're still in Alpha but they seem
    stable enough to use.

    James

    WeeJames Guest

  4. #3

    Default Re: Stored Procedures mySQl 5, CFMX 6.1

    out of curiosity, the latest is 3.0.17 ga that runs with CFMX 6 (
    [url]http://dev.mysql.com/downloads/connector/j/3.0.html[/url] ) have you tried
    that? (you say 3.0.16) I haven't tried 3.0.17 with MySQl5, but it does
    work with 4.0 and 4.1...so I don't know if 3.0.17 can use SPs.
    HTH,
    Tim
    --
    Tim Carley
    [url]www.recfusion.com[/url]
    [email]info@NOSPAMINGrecfusion.com[/email]
    Mountain Lover Guest

  5. #4

    Default Re: Stored Procedures mySQl 5, CFMX 6.1

    You probably want to avoid Connector/J 3.1.17 because of mySQL bug
    [url]http://bugs.mysql.com/bug.php?id=13469[/url]

    This prevents using 3.1.10 or higher versions with CFMX7 until it gets fixed.
    Probably CFMX6 too.

    Connector/J 3.1.9 works with CFMX 7.0.1 and mySQL 5.0 on Windows.
    Finding previous Connector/J 3.1 versions can be a little tricky - but they
    still can be found if you dig a little.


    TomDonovan 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