Search Results
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlcursordict.html
Example: cnx = mysql.connector.connect(database='world') cursor = cnx.cursor(dictionary=True) cursor.execute("SELECT * FROM country WHERE Continent = 'Europe'") print("Countries in Europe:") for row in cursor: print("* ...The keys for each ...
https://dev.mysql.com/doc/connectors/en/connector-python-coding.html
The following guidelines cover aspects of developing MySQL applications that might not be immediately obvious to developers coming from a Python background: For security, do not hardcode the values needed to connect and log into the database in ...
https://dev.mysql.com/doc/connectors/en/connector-python-examples.html
These coding examples illustrate how to develop Python applications and scripts which connect to MySQL Server using MySQL Connector/Python.
https://dev.mysql.com/doc/connectors/en/connector-python-reference.html
mysql.connector errorcode errors connection constants conversion cursor dbapi locales eng client_error protocol utils . Examples should be considered working for Python 2.7, and Python 3.1 and greater. They might also work for older versions (such ...
https://dev.mysql.com/doc/connectors/en/connector-python-tutorials.html
These tutorials illustrate how to develop Python applications and scripts that connect to a MySQL database server using MySQL Connector/Python.
https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-example.html
MySQL Connector/NET is compatible with multiple versions of Entity Framework Core. For specific compatibility information, see Table 7.1, “Connector/NET Versions and Entity Framework Core Support”. dotnet CLI Enter the following command to add ... The Code First approach enables you to define an entity model in code, create a database from the model, and then add data to the ...
https://dev.mysql.com/doc/connector-net/en/connector-net-medium-trust-nongac.html
When deploying a web application to a Shared Hosted environment, where this environment is configured to run all their .NET applications under a partial or medium trust level, you might not be able to install the MySQL Connector/NET library in the ...Instead, you put a reference to the library in the bin or lib folder inside the project or ...
https://dev.mysql.com/doc/connector-net/en/connector-net-programming-bulk-loader.html
MySQL Connector/NET features a bulk loader class that wraps the MySQL statement LOAD DATA INFILE. This gives Connector/NET the ability to load a data file from a local or remote host to the server, or a stream to a database (from Connector/NET ...
https://dev.mysql.com/doc/connector-net/en/connector-net-programming-datetime-invalid.html
The default behavior of Connector/NET is to return a .NET DateTime object for valid date values, and return an error for invalid dates. This default can be modified to cause Connector/NET to return MySqlDateTime objects for invalid dates. To ...
https://dev.mysql.com/doc/connector-net/en/connector-net-programming-trace-source.html
To use tracing MySql.Data.MySqlClient.MySqlTrace can be used as a TraceSource for Connector/NET and the connection string must include "Logging=True". The .NET tracing architecture consists of four main parts: Source - This is the originator of the ...