evergrean100
Technical User
I am going to work with MX 7 on a Unix server and was wondering how I connect to the database where I wont have a DSN connection like the standard way:
How would the database connection look if this is the following info:
I know I cant do it this way and need help on it:
Thanks.
Code:
<cfquery name="dbdata" datasource="mydsnName">
SELECT * FROM table
</cfquery>
How would the database connection look if this is the following info:
Code:
Host = myhostname:1234
Sid = myabc
Username = "jones"
Password = "baseball"
I know I cant do it this way and need help on it:
Code:
<cfquery name="dbdata" datasource="myhostname:1526:myabc", "jones", "baseball");">
SELECT * FROM table
</cfquery>
Thanks.