• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Accessing remote SQL server

LEGEND ,
Aug 01, 2009 Aug 01, 2009

Copy link to clipboard

Copied

Hello, all.

This is the first time I've ever needed to access a remote SQL server, and I'm getting an attribute validation error for the cfquery tag.

The CFQUERY tag currently opens as:

<cfquery name="[queryName]" debug="1" username="#User#" password="#Pass#" dbserver="[SQL Server IP]" dbname="[databaseName]">

What are the attributes that I need in order to remotely access the database?

Thanks,

^_^

Views

635

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Aug 02, 2009 Aug 02, 2009

You need to setup a datasource in the CF admin pointing to the remote

server, using dbServer will not work.

Mack

Votes

Translate

Translate
Enthusiast ,
Aug 02, 2009 Aug 02, 2009

Copy link to clipboard

Copied

LATEST

You need to setup a datasource in the CF admin pointing to the remote

server, using dbServer will not work.

Mack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation