Ia m installing MySQL on my windows 2003 server. But when trying to run a short vbscript I get error 800a01fb on Conn.Execute. The database seems to work fine from MySQL administrator and ODBC test is successful.
Please help me with this one!
I have installed
* MySQL 5.0
* MySQL ODBC v5.0
* MySQL Administrator
* MySQL Query Browser
* MDAC 2.8
* IIS 6.0
Code:
<%
Set Conn = createobject("ADOBD.Connection")
Conn.Open="Driver={MySQL Connector/ODBC v5.0};Server=Localhost;Database=MyDb;User=root;Pas sword=MyPw;Option=3;"
MySQL="SELECT * FROM Tablename"
set rs=Conn.Execute(MySQL)
Conn.Close
set Conn=Nothing
%>