Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 5th, 2008, 02:19 PM
Familiar Sight
 
Join Date: Oct 2006
Posts: 142
Default ASP and MYSQL how to site? !!!!!!

Hi,

I'm trying to figure out how to insert, delete and update Mysql with ASP.

But can't find one website.

Does anyone know of a website I can check it out or get examples?

Thanks
Reply
  #2  
Old September 5th, 2008, 08:23 PM
codegecko's Avatar
Moderator
 
Join Date: May 2007
Location: United Kingdom
Age: 21
Posts: 341
Default

Hi there,

Before using MySQL with ASP, you need to install the MySQL ODBC driver on the machine that the ASP application is running, and ensure that port 3306 is open on the machine running MySQL.
The ODBC driver for MySQL can be found here (both x86 and x64 versions).

Then, read the documentation and there are examples of how to create a DSN, or DSN-less, connection string using the MySQL ODBC connector. Simply use this code in your ASP app and that's it!

Hope this helps.

Best regards,

medicineworker
Reply
  #3  
Old September 7th, 2008, 09:35 AM
jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Age: 32
Posts: 2,363
Default

Ditto to what medicineworker said. Let me add that the best solution in my opinion, if you are trying to follow existing instructions, is set up a DSN. Once that is in place you can connect to it following any DSN connection instruction you can find.

Jared
Reply
  #4  
Old September 7th, 2008, 08:29 PM
codegecko's Avatar
Moderator
 
Join Date: May 2007
Location: United Kingdom
Age: 21
Posts: 341
Default

I personally suggest against using DSN's as per this article for performance and management benefits, especially in a shared hosting environment.

Best regards,

med
Reply
  #5  
Old September 8th, 2008, 12:15 PM
jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Age: 32
Posts: 2,363
Default

Quote:
Originally Posted by medicineworker
I personally suggest against using DSN's as per this article for performance and management benefits, especially in a shared hosting environment.

Best regards,

med
Bahhh !
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles