Solved

MySQL Database from Classic ASP

Posted on 2009-04-01
4
498 Views
Last Modified: 2012-05-06
I'm considering using a MySQL database to replace an Access database. All the web srcipts (about 80 files) are CLASSIC ASP, NOT asp.net.

Is there a simple tutorial somewhere that shows how to connect to MySQL from classic ASP?

I know it well in php, & have done many apps that way.
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 31

Accepted Solution

by:
Wayne Barron earned 250 total points
ID: 24045529
All you need is here
http://www.connectionstrings.com/
MySQL
http://www.connectionstrings.com/mysql

Have a good one
Carrzkiss
0
 
LVL 22

Expert Comment

by:neeraj523
ID: 24046451
hello

You can use following querystring fro connecting to mySQL database from asp page

Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

But important to note that just chnaging querystring will not give you desired results because queries written for MS Access database wont work as it is for MySQL. You will have to do some tweaking to these queries to get it working for mySQL. For example, you dont have 'Top' keyword in MySQL and MSAccess accept any date format but mySQL only understands yyyy-mm-dd etc

Hope it will help you in taking decision on this transition..
0
 
LVL 14

Assisted Solution

by:shobinsun
shobinsun earned 250 total points
ID: 24047191
Hello,

Hope this will help you:

http://www.aspdev.org/articles/asp-mysql-connect/

Regards.
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 24047321
neeraj523 & shobinsun
Both of your content that you provided is included in the link that I provided.

The link that I provided basically covers all area's of the connections string(s) that are available.

Have a good one
Carrzkiss
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question