Solved

MySQL Database from Classic ASP

Posted on 2009-04-01
4
499 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

623 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