Search Results
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-dsn-unix.html
On Unix, you configure DSN entries directly in the odbc.ini file. For example, if your odbc.ini file is located in /usr/local/etc, set the environment variables like this: export ODBCINI=/usr/local/etc/odbc.ini export ODBCSYSINI=/usr/local/etc .
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-reference-api.html
SQLConnect Yes ISO 92 Connects to a specific driver by data source name, user ID, and password. SQLDriverConnect Yes ODBC Connects to a specific driver by connection string or requests that the Driver Manager and driver display connection dialog ...
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-support-community.html
Community support from experienced users is also available through the ODBC Forum. You may also find help from other users in the other MySQL Forums, located at http://forums.mysql.com.
https://dev.mysql.com/doc/connector-python/en/connector-python-api-cext-connect.html
import _mysql_connector ccnx = _mysql_connector.MySQL() ccnx.connect(user='scott', password='password', host='127.0.0.1', database='employees') ccnx.close() connect() supports the following arguments: host, user, password, database, port, ...If ccnx ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-connect.html
A connection with the MySQL server can be established using either the mysql.connector.connect() method or the mysql.connector.MySQLConnection() class: cnx = mysql.connector.connect(user='joe', database='test') cnx = MySQLConnection(user='joe', ...
https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysqlconnection-set-charset-collation.html
In the following example, we set the character set to latin1 and the collation to latin1_swedish_ci (the default collation for: latin1): >>> cnx = mysql.connector.connect(user='scott') >>> cnx.set_charset_collation('latin1') Specify a given ...
https://dev.mysql.com/doc/internals/en/a-mysql-client-logs-in.html
The client answers with username, some flags and the response to the challenge.: server -> client 07 00 00 02 00 00 00 02 00 00 00 ........... 06 55 53 45 52 28 29 00 0c 08 00 4d 00 00 00 fd .USER()....M.... 00 00 27 75 3e 6f 38 66 79 4e 00 ff f7 08 ...
https://dev.mysql.com/doc/internals/en/auth-phase-fast-path.html
Assume that client wants to log in as user U and that user account uses authentication method M. The fast authentication path is used if both client and server used method M to generate authentication data in the initial handshake. In that case the ...
https://dev.mysql.com/doc/internals/en/authentication-method.html
For earlier servers it is always Secure Password Authentication or Old Password Authentication depending on the CLIENT_SECURE_CONNECTION flag. Client and server negotiate what types of authentication they support as part of the connection phase.
https://dev.mysql.com/doc/internals/en/better-protocols-example.html
The output becomes less clear because there is no indication that the connection has been changed. SET @aux = 1; SELECT @aux AS "content of @aux is"; content of @aux is 1 SELECT @aux AS "content of @aux is"; content of @aux is NULL .