If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Asp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-29-04, 00:47
shifttech shifttech is offline
Registered User
 
Join Date: Feb 2004
Location: California, USA
Posts: 2
Asp

Can I use ASP (as opposed to PHP) to query a mySQL database? I know that PHP is "tailored" to mySQL and ASP is mainly used with MS SQL, but can ASP be used with mySQL and PHP with MS SQL?
Reply With Quote
  #2 (permalink)  
Old 02-29-04, 01:01
aus aus is offline
Registered User
 
Join Date: Oct 2003
Location: Denver, Colorado
Posts: 137
Re: Asp

Yes, you need to install the MyODBC connector on the server, then create a connection to the database via ADO, just like you would SQL Server (with a different ConnectionString, of course). You can use ODBC or create a DSN-less connection.
Reply With Quote
  #3 (permalink)  
Old 02-29-04, 01:32
shifttech shifttech is offline
Registered User
 
Join Date: Feb 2004
Location: California, USA
Posts: 2
thanks

Thank you, basically what I got from your answer was yes, it can be done. I am a newb to databases in general, so I am not familiar with what you were talking about when you were explaining what I needed to do to accomplish this. I'm sure as I learn more (books, tuts, etc) I'll understand it better, for now though, I just wanted to know if it could be done. Thank you again.
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 On
Pingbacks are On
Refbacks are On