MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old December 24th, 2003, 10:24 AM
peak peak is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 peak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MySQL Provider Error

Hello all

Windows XP SP1

I'm trying to connect to a local MySQL database through VBScript (also tried JScript and ASP, same result)

connect = Server.CreateObject("ADODB.Connection");
connect.Open("Provider=MySQL; Data Source=localhost; Initial Catalog=test; User ID=root");

I get "Provider cannot be found. It may not be properly installed".
I can successfully connect to the database through sqlyog, Data Sources (ODBC) and winmysqladmin.

Also tried different names for Provider both with and without the "{}", same result. The DSN is set to "MySQL" in Data Sources (ODBC)

Any clues?

Reply With Quote
  #2  
Old January 21st, 2004, 04:10 PM
rravenscraft rravenscraft is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 rravenscraft User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Having the same problem with MySQL and VB6.
Found that everything works OK if using Office 2000 or XP. Problem only occurs with Office 97. Also, if you load Office 2000, then uninstall it and install Office 97 again, it still keeps working.
There must be something in Office 2000 or XP that allows the Provider to be recognized, and it stays there even if you unistall either 2000 or XP.
Do you have any new helpful information? It would be greatly appreciated. Also, if I figure it out, I'll let you know.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > MySQL Provider Error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway