Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9195409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:37:18+00:00 2026-06-17T21:37:18+00:00

I am attempting to execute a MySQL MySQL insert statement from a Coldfusion 10

  • 0

I am attempting to execute a MySQL MySQL insert statement from a Coldfusion 10 Server, which results in an Cold Fusion Error.

<cfquery name="test" datasource="MySQLServer_2"> 
    INSERT INTO developer_website.debug
    (Value_INT,Value_STR)
    VALUES(1,'test');
</cfquery>

 Coldfusion error link - http://postimage.org/image/dazcm6bfr/

The MySQL insert statement works correctly when executed from MySQL Workbench. Further, I confirmed that select statements executed on the Coldfusion 10 server work correctly.

INSERT INTO developer_website.debug 
(Value_INT,Value_STR) 
VALUES(1,'test'); 

<cfquery name="test" datasource="MySQLServer_2"> 
    SELECT * 
    FROM developer_website.debug;
</cfquery>

Next, I attempted to set the variable ‘binlog-format’ cfquery itself.

<cfquery name="test" datasource="MySQLServer_2"> 
    SET GLOBAL binlog_format = 'ROW';

    INSERT INTO developer_website.debug
    (Value_INT,Value_STR)
    VALUES(1,'test');

    SET GLOBAL binlog_format = 'STATEMENT';
</cfquery> 

Which resulted in a new CFE.

Coldfusion error link - http://postimage.org/image/7q4rjrhnv/

Finally, I attempted to set the ‘binlog-format’ in the ‘MySQL Server 5.5\my.ini’ file.

binlog-format = ROW

Again, the issue is not fixed. I continue to receive the original CFE and the data is not being inserted.

I am seeking insight on the issue, specifically how to fix the issue or perhaps a workaround. All constructive comments/insights/questions/(solutions) are welcome.

Specifications:
Coldfusion version: ColdFusion 10,282462
MySQL version: 5.5.29-log
MySQL Connector version: mysql-connector-java-5.1.22-bin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:37:19+00:00Added an answer on June 17, 2026 at 9:37 pm

    If the DSN was set up correctly, a database was already specified. There is no reason to specify developer_website.debug as your table, and that is probably causing the issue. You should just be accessing debug as the table for that particular DSN.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to execute the following prepared statement: PREPARE stmt FROM 'SELECT *
I am attempting to insert a record to MySQL using PDO, my sql statement
Hi I am attempting to execute a jar from PHP 5 Here is the
I'm attempting to build a Windows Service which will execute some method when a
I'm wrestling with MySQL stored procedures, and the PREPARE / EXECUTE statement pair. I'm
I'm attempting to write the results of a regression back to MySQL, but am
I'm attempting to execute a .NET (3.5) command line program from within a VBScript
I am attempting to execute this SQL statement, and while it does indeed execute,
I am attempting to execute xcopy command that copies a file from one UNC
I keep getting this error when attempting to execute this code, even after placing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.