OLEDB connection to mysql via ASP



Hello all:

Although the following question is not related to a MS flavor database, it
IS related to MS flavored technologies / platforms: ASP and Windows XP. So
please bear with me.

I have just installed MySQL via the new windows installer program on my
Windows XP Pro machine, and everything works perfectly. Now I would like to
make a connection from an ASP page to the database (locally on my computer)

The connection string which I use on my mysql database on my web site
(externally) is

<%
set Conn = server.CreateObject("ADODB.connection")
Conn.open "Provider=MySQLProv;Location=mysql.myweb.com;Data Source=db;User
Id=myname;Password=mypw;"
%>

and that works perfectly.

Now I would like to use the same string for local connections on my PC.

I have tried:

<%
set Conn = server.CreateObject("ADODB.connection")
Conn.open "Provider=MySQLProv;Location=localhost;Data Source=localhost;User
Id=root;Password=pw;"
%>

But I get the following error message:

ADODB.Connection (0x800A0E7A)
Provider cannot be found. It may not be properly installed.

That leads to several questions:

- Are the "Location" and "Data source" arguments correct? (I did not specify
anything particular when installation windows package, the user "root" was
automatically created.

- Do I have to install something extra in order to make MySQLProv work
locally on my computer? (Ssomehow the error message seems to indicate that )

Are there any alternatives to MySQLProv (I prefer OLEDB, not OBDC) - already
natively available on win XP Pro which would work?

Thanks a lot!

TB



.



Relevant Pages

  • Re: access03/frontpage03
    ... Open a web in FrontPage ... Instructions are in the Help files - search for Database Results ... I'm operating on a windows server, that DOES allow asp. ...
    (microsoft.public.frontpage.programming)
  • Re: ASP Tutorial
    ... You and others can have access to a database hosted on the Web from any ... Then "dynamic" Web pages (actually ASP pages which include VBScript, ... Dynamic Web pages are similar in many ways to regular HTML pages. ... hosts that can handle ASP pages usually have a Windows 2000 or Windows ...
    (microsoft.public.inetserver.asp.db)
  • Re: CALLING AN ACCESS REPORT BY ASP PAGE
    ... You and others can have access to a database hosted on the Web from any ... Then "dynamic" Web pages (actually ASP pages which include VBScript, ... Dynamic Web pages are similar in many ways to regular HTML pages. ... hosts that can handle ASP pages usually have a Windows 2000 or Windows ...
    (microsoft.public.inetserver.asp.db)
  • Re: keyword based Ads
    ... You and others can have access to a database hosted on the Web from any ... Then "dynamic" Web pages (actually ASP pages which include VBScript, ... Dynamic Web pages are similar in many ways to regular HTML pages. ... hosts that can handle ASP pages usually have a Windows 2000 or Windows ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP, SQL books
    ... You and others can have access to a database hosted on the Web from any ... Then "dynamic" Web pages (actually ASP pages which include VBScript, ... Dynamic Web pages are similar in many ways to regular HTML pages. ... hosts that can handle ASP pages usually have a Windows 2000 or Windows ...
    (microsoft.public.inetserver.asp.general)

Quantcast