Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2006, 08:46 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Default mysql and asp code

Hi,
I have written a script in asp and the database it supports is Microsoft MS SQL
Now If I change the sql files to mysql
will the asp code still work without problem or should I still need to make some changes?
can I still have stored procedure in mysql?
should I just change the connection?
any example or reference will be greate help

 
Old September 23rd, 2006, 11:34 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You cant just change database servers and have your script work correctly, you wil have to have the MySQL driver installed on your server and will have to rework your connection string.

If you are using any relase of MySQL prior to version 5.0, no, you can not have Views/Stored Procedures.

Your connection string should look something similar to this:

"driver={MySQL ODBC 3.51 Driver};server=myserver;uid=myUserID;pwd=mypasswor d;database=myDatabase;option=16387;port=3306;"

hth.

--Stole this from a moderator

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code for Beginning databases with MYSQL sponsora MySQL 3 July 18th, 2008 06:24 AM
has anyone got code how to connect to mySql? qiux ADO.NET 2 May 9th, 2008 08:17 AM
mysql code p0120144 C++ Programming 0 March 18th, 2006 06:03 AM
dynamic inserting into mysql using C code qassem MySQL 0 March 28th, 2005 08:34 AM
PHP MySQL Programming Code Issue phampson All Other Wrox Books 0 September 22nd, 2003 03:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.