View Single Post
  #1 (permalink)  
Old August 17th, 2004, 11:28 PM
fs22 fs22 is offline
Friend of Wrox
Join Date: Apr 2004
Location: Wausau, WI, USA.
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP Connection to MySQL

I am attempting to connect to a MySQL database but I cannot seem to get the connection string to work. Here is my string as it stands now...

var MM_connBiblereading_STRING = Server.CreateObject ("ADODB.Connection")
MM_connBiblereading_STRING.Open ("Driver={MySQL}; SERVER=localhost; Port=3306; Option=0; Socket=/tmp/mysql.sock; DATABASE=bibletruthchapel_org; UID=userid; PWD=password;")

Any thoughts as to why it is not working?

Clay Hess
Clay Hess
Reply With Quote