Home > database >  ODBC connection MySQL exception: did not find the data source name and did not specify a default dri
ODBC connection MySQL exception: did not find the data source name and did not specify a default dri

Time:11-07

  var conn=new ActiveXObject (" ADODB. Connection "); 

Var rs=new ActiveXObject (" ADODB. You ");

Var connectionstring="DRIVER={MySQL 8.0 Unicode ODBC DRIVER}; SERVER=127.0.0.1; The DATABASE=mydb; UID=root; Password=552378875 CAI; Option=3; PORT=3306 ";

Conn. Open (the connectionstring);


Above is JS inside connection MySQL code, I have set the DNS system, and successful testing, but the line is still in the open this error on the web, to solve!





CodePudding user response:

Why not use an ajax request database?

CodePudding user response:

reference 1/f, gypsy song response:
why not use an ajax request database?
because I have written in JavaScript

CodePudding user response:

I also like your situation, I think it's version of the problem, can successfully connect mysql 5.1 version
  • Related