MyODBC 2.50 connection strings

Connects to

MySQL

  • Local database

    Driver={mySQL};Server=localhost;Option=16834;Database=myDataBase;
  • Remote database

    Driver={mySQL};Server=myServerAddress;Option=131072;Stmt=;Database=myDataBase;
    User
    =myUsername;Password=myPassword;
  • Specifying TCP/IP port

    Driver={mySQL};Server=myServerAddress;Port=3306;Option=131072;Stmt=;
    Database
    =myDataBase;User=myUsername;Password=myPassword;

    The driver defaults to port value 3306, if not specified in the connection string, as 3306 is the default port for MySQL.

Problems connecting?
Get answer in the MySQL Q & A forum
ODBC DriverDriver={mySQL}Info and driver downloads

Providers

Connect

Articlesread all »

Didn't find your connection string?

Start over from the connection string reference index - or try a search!

In the Q&A forums you can ask your own question and let somebody help you.

The knowledge articles contains solutions and guides.