Search Results
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlconnectionpool-constructor.html
If this argument is not given, Connector/Python automatically generates the name, composed from whichever of the host, port, user, and database connection arguments are given in kwargs, in that order. Example: dbconfig = { "database": "test", ...
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlcursor-constructor.html
If omitted, the cursor is created but its execute() method raises an exception.
https://dev.mysql.com/doc/connectors/en/connector-python-api-mysqlcursorprepared.html
import mysql.connector cnx = mysql.connector.connect(database='employees') cursor = cnx.cursor(prepared=True) Alternatively, create an instance of the MySQLCursorPrepared class using the cursor_class argument to the cursor() method. import ...In ...
https://dev.mysql.com/doc/connectors/en/connector-python-introduction.html
MySQL Connector/Python enables Python programs to access MySQL databases, using an API that is compliant with the Python Database API Specification v2.0 (PEP 249). For notes detailing the changes in each release of Connector/Python, see MySQL ...
https://dev.mysql.com/doc/apis-php/en/apis-php-introduction.html
It is available for most operating systems and Web servers, and can access most common databases, including MySQL. PDO_MySQL: Not its own API, but instead it's a MySQL driver for the PHP database abstraction layer PDO (PHP Data Objects). PHP is a ...
https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core.html
Configuration with MySQL To use Entity Framework Core with a MySQL database, do the following: Install the NuGet package. optionsBuilder.UseMySQL("server=localhost;database=library;user=user;password=password"); } Limitations The Connector/NET ...
https://dev.mysql.com/doc/connector-net/en/connector-net-programming-datetime-restricting.html
The DateTime class will only allow valid dates, ensuring that the values in your database are also valid. The disadvantage of this is that it is not useful in a mixed environment where .NET and non .NET code are used to manipulate the database, as ... The best solution to the date problem is to restrict users from entering invalid ...
https://dev.mysql.com/doc/connector-net/en/connector-net-ref-entityframework.html
MySqlHistoryContext Class used by code first migrations to read and write migration history from the database. Classes Class Description BackoffAlgorithm Represents the base class for backoff algorithms. BackoffAlgorithmErr1040 Backoff algorithm ...
https://dev.mysql.com/doc/connector-net/en/connector-net-simple-membership-tutorial.html
<add name="MyConnection" connectionString="server=localhost; UserId=root; password=pass; database=MySqlSimpleMembership; logging=true;port=3305" providerName="MySql.Data.MySqlClient"/> Under the <system.data> node, add configuration information ...
https://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-intro.html
It also assumes that you have installed the world database sample, which can be downloaded from the MySQL Documentation page. You can also find details on how to install the database on the same page. This section provides a gentle introduction to ...