I am new to ASP, and I used to write the connection for my Access Database using DNSLESS Connection like this:
<HTML>
<BODY>
<%
'Actionvar=Request.QueryString("actionvar")
'** Set Up a DSNLESS CONNECTION<BR>
Set conn = server.createobject("adodb.connection")
DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; "
'DSNtemp=dsntemp & "DBQ=" & server.mappath("Record.mdb")
DSNtemp=dsntemp & "DBQ=" & server.mappath("MyWeb/MyRecord/Record.mdb")
conn.Open DSNtemp
%>
</BODY>
</HTML>
My question is:
1.Here, Record.mdb is kept inside my web Folder. If the Data have a password, then how shall I write the Connection String.
2. Is it possible to Connect MySql using ASP, if so, what is the Connection String.
If any one can solved my simple problem, I shall be very glad.