Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Can you help with an ODBC question.

Can you help with an ODBC question.

2006-04-02       - By mwallace@(protected)

 Back
Good Evening;

I have download MySQL and installed with the administrator software created a
schema called ?bfca? and added a table called ?main? and created a user ?web?
and assigned rights to that table.

I?m trying to access this table from and ASP page, (Code Below)

Dim strDataBAseType
strDataBaseType = "MySQL"

ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost;
DATABASE=bfca; USER=web; PASSWORD=cboys; OPTION=3;"

set cnAdmin = server.CreateObject("ADODB.connection")
set rsAdmin = server.CreateObject("ADODB.recordset")
cnAdmin.Open ConnectionString
   
rsAdmin.Open "main", cnAdmin, adOpenForwardOnly,adLockOptimistic,adcmdtable
SQLAdmin = "SELECT * FROM main"
set rsAdmin = cnAdmin.Execute(SQLAdmin)

I?m unable to open this empty data base, the ?cnAdmin.Open ConnectionString? .

THIS IS THE WEB PAGE ERROR:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified /test/default4.asp, line 34

I see Microsoft ODBC where I?m using MySQL, I?ve tried using DNS of which work
fine from test when adding.

I you could please offer some advise, thank you.



--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:    http://lists.mysql.com/myodbc?unsub=mysql@(protected)