Depending on what driver of MySQL ODBC you are using.
The one below I use for v3.51:
strConnString = "drver={MySQL ODBC 3.51
Driver};server=SERVER_IP;database=DB_NAME;user=UID;password=PWD;OPTION=4

The one below I used in the past for v2.50:
strConnString =
"driver=MySQL;server=SERVER_IP;uid=UID;pwd=PWD;database=DB_NAME"

Bill

-----Original Message-----
From: Ratmil Torres [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 8:11 AM
To: [EMAIL PROTECTED]
Subject: Connecting to MySQL from ASP


Hi. I am developing a web site using ASP. I need to connect to a MySQL
Server. I am using ODBC, so how should the connection string be? I have
already installed the ODBC driver for MySQL.
Thanks.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to