Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 17th, 2004, 11:28 PM
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
  #2 (permalink)  
Old August 18th, 2004, 11:35 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Not sure if you got to use Socket=/tmp/mysql.sock; there in your connection string.

Try without that.

Check this out for standard connection strings.

Cheers!

_________________________
- Vijay G
Strive for Perfection
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP connection to MySQL ells228 Classic ASP Databases 5 June 21st, 2017 01:38 PM
ASP-Mysql connection beeded surendran Classic ASP Databases 1 September 15th, 2005 05:24 AM
Asp and Mysql Connection surendran Classic ASP Basics 3 September 15th, 2005 05:22 AM
connection error MYSQL and ASP renee_santoscoi MySQL 5 March 7th, 2005 11:15 AM
ASP.NET database connection MySQL socoolbrewster ASP.NET 1.0 and 1.1 Basics 3 November 21st, 2003 07:12 PM



All times are GMT -4. The time now is 08:54 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.