MySQL Connection String
MySQL Connection String
MySQL
Local database
MySQL
On 64 bit machine
It seems we need to point on MSDASQL for the (32 bit) ODBC driver to work on 64 bit machines.
MySQL
MySQL ODBC Connector version 5.2.5 and above register itself as "MySQL ODBC 5.2 Unicode Driver" and
"MySQL ODBC 5.2 ANSI Driver".
Remote database
MySQL
The driver defaults to port value 3306, if not specified in the connection string,
MySQL
as 3306 is the default port for MySQL.
Specifying character set
MySQL
Specifying socket
This one specifies the Unix socket file or Windows named pipe to connect to. Used only for local client
connections.
On Windows, the socket variable is the name of the named pipe that is used for
local client connections. The default value is MySQL.
MySQL
On Unix platforms, the socket variable is the name of the socket file that is used
for local client connections. The default is /tmp/mysql.sock.
Using SSL