> <%
>
> set conn = server.createobject("ADODB.connection")
> conn.Open "DRIVER={MySQL ODBC 3.51 Driver};SERVER=xxxxx; DATABASE=xxxxxx;
> UID=xxxxx; PWD=xxxxxxxxx;"
>
> %>
Tak det hjalp (lidt), men nu kommer denne fejl:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[MySQL][ODBC 3.51 Driver]Access denied for user: 'test@sqltest' (Using
password: YES)
/test/sql.asp, line 25
min "WinMySQLAdmin 1.3 Tool" ser sådan ud
#This File was made using the WinMySQLAdmin 1.3 Tool
#06-12-2004 16:09:36
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=D:/mysql
#bind-address=192.168.0.100
datadir=D:/mysql/data
#language=D:/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=D:/mysql/bin/mysqld-nt.exe
user=bambi-2
MYSQL_PWD=bambisql
og lidt af "asp" koden:
SQLpassword="bambisql"
Set Conn = Server.CreateObject("ADODB.Connection")
conStr = "driver={MySQL ODBC 3.51 Driver};server="& SQLserveradr
&";database="& SQLdatabase
conStr = conStr & ";uid="& SQLlogin &";pwd="& SQLpassword
Håber jeg kan få lidt hjælp igen
Mvh
M