473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

ASP and MYSQL how to site? !!!!!!

142 100+
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
Sep 5 '08 #1
4 1277
JamieHowarth0
533 Expert 512MB
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
Sep 5 '08 #2
jhardman
3,406 Expert 2GB
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
Sep 7 '08 #3
JamieHowarth0
533 Expert 512MB
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
Sep 7 '08 #4
jhardman
3,406 Expert 2GB
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 !
Sep 8 '08 #5

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.