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

  • Home
  • SEARCH
  • 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 7501011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:23:24+00:00 2026-05-29T20:23:24+00:00

I have some data in a old MSSQL 2000 db. I am trying to

  • 0

I have some data in a old MSSQL 2000 db. I am trying to move a couple tables from it to a mySQL (V 5.025) db. In the past I created a flat csv files from the MSSQL db and imported into an empty desination table in the mySQL db using this code snippet:

LOAD DATA INFILE '/moodle/sourcefile.csv' INTO TABLE tablename
           FIELDS TERMINATED BY ','

I would like to do a direct, programmatic selection from source, insert into destination process. I am using Coldfusion (MX) to read from the MSSQL table, which is getting the data from the source db fine.

I have created a connection object using this code:

classLoader = createObject("java", "java.lang.Class");
classLoader.forName("sun.jdbc.odbc.JdbcOdbcDriver");
dm = createObject("java","java.sql.DriverManager");

I can dump the dm object and its fine, ready to be used.

I am attempting to create an odbc connection to the mySQL table like this: This is the code that is failing.

con = dm.getConnection("jdbc:odbc:DRIVER={MySQL ODBC 3.51 Driver}; SERVER=ipaddress; PORT=3306; DATABASE='dbname'; USER='username'; PASSWORD='password'; OPTION=3;");

The error it is generating is

“[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified”

Any ideas on how to correct this error (make connection work) OR a different perspective on how to move this data is appreciated.

  • 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-05-29T20:23:27+00:00Added an answer on May 29, 2026 at 8:23 pm

    You have to have the bridge connector installed to do this. On windows it’s 2 separate services titled ColdFusion ODBC Server and ColdFusion ODBC Agent.

    In addition you might run into issues with 64bit vs. 32bit. You may need to install your sys dsn using a different odbc server commandlet (check the WOW64 folder). check out this post for some work arounds related to Access (which also bridges through ODBC).

    http://www.coldfusionmuse.com/index.cfm/2010/12/31/Access.on.64bit.ColdFusion

    Also – you should know that you CAN set this up with the latest driver even on an older CF version. You have to get the driver file into the class path and then use the “other” JDBC type. It requires creating a JDBC connection string etc. – but probably as easy or easier than trying to jury rig the ODBC subsystem. Good luck 🙂

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

Sidebar

Related Questions

I have been tasked to read in some data from some weird old system.
I have inherited a very old database that needs some data to be updated.
I have an odd one - I am porting some data from one CMS
MSSQL database. I have issue to create database using old databases data. Old database
I have a MySQL DB field populated with some data. I have an option
I have written some data fetch service which fetches some entities from main web
I have some legacy DB with many tables (around 100) the old system is
I have some data with messed-up accented characters. For example in the data we
I have some data grouped in a table by a certain criteria, and for
I have some data of the form Key ID Link 1 MASTER 123 2

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.