vbscript - Problem connecting to MySql -
i trying connect mysql server asp vb application.
the connection string use :
driver=org.gjt.mm.mysql.driver;server=myserveraddress;database=mydatabase;uid=myusername;pwd=mypassword;
the code use connect :
public sub sqlcommand(objcommand, strsqlcommand) 'run query using command object set objcommand = server.createobject("adodb.command") response.write(application("database_connectionstring_external")) objcommand.activeconnection = application("database_connectionstring_external") objcommand.commandtext = strsqlcommand objcommand.commandtype = adcmdtext end sub
i getting error '80004005'
what problem in code ? thanks
error 80004005 means wrong username/password have checked whether work manually?
Comments
Post a Comment