URL: https://www.overclockers.at/coding-stuff/vbscript_mysql_funzt_net_165698/page_1 - zur Vollversion wechseln!
hi folgendes problem:
der code unten hat mir heute schon die Verbindung eingerichtet..sprich es hat schon mal funktioniert*G*
5 min später wollts net mehr so wirklich..er verabschiedet sich bei DBConnection. open mit der meldung:
Client konnte Verbindung nicht aufbauen.
hab i an fehler im script? findet wer was? user,kennwort etc passt alles, wie gsagt..es is scho gangen
myDSN = "Driver={SQL Server};" & _
"DATABASE=fileserv;" & _
"SERVER=38866B90_1;" & _
"UID=fileserv;" & _
"PWD=fileserv;"
Set DBConnection = CreateObject("ADODB.Connection")
msgbox myDSN
DBConnection.Open myDSN
mySQL="select * from tabelle "
set rstemp=DBConnection.execute(mySQL)
vielleicht:
myDSN = "Driver={SQL Server};" & _
"DATABASE=fileserv;" & _
"SERVER=38866B90_1;" & _
"UID=fileserv;" & _
"PWD=fileserv;"
Set DBConnection = new ADODB.Connection
DBConnection.ConnectionString= myDSN
DBConnection.Open
mySQL="select * from tabelle"
set rstemp=DBConnection.execute(mySQL)
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025