初始化
This commit is contained in:
BIN
packages/MySql.Data.9.3.0/.signature.p7s
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/.signature.p7s
vendored
Normal file
Binary file not shown.
2267
packages/MySql.Data.9.3.0/LICENSE
vendored
Normal file
2267
packages/MySql.Data.9.3.0/LICENSE
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/MySql.Data.9.3.0.nupkg
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/MySql.Data.9.3.0.nupkg
vendored
Normal file
Binary file not shown.
16
packages/MySql.Data.9.3.0/README
vendored
Normal file
16
packages/MySql.Data.9.3.0/README
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
Copyright © 2004, 2025, Oracle and/or its affiliates.
|
||||
|
||||
This is a release of MySQL Connector/NET, Oracle's fully managed ADO .NET Driver
|
||||
for MySQL.
|
||||
|
||||
License information can be found in the LICENSE file. This distribution may
|
||||
include materials developed by third parties. For license and attribution
|
||||
notices for these materials, please refer to the LICENSE file.
|
||||
|
||||
For more information on MySQL Connector/NET, visit
|
||||
http://dev.mysql.com/doc/connector-net/en/.
|
||||
|
||||
For additional downloads and the source of MySQL Connector/NET, visit
|
||||
http://dev.mysql.com/downloads/.
|
||||
|
||||
MySQL Connector/NET is brought to you by the MySQL team at Oracle.
|
||||
80
packages/MySql.Data.9.3.0/README.md
vendored
Normal file
80
packages/MySql.Data.9.3.0/README.md
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
## About
|
||||
|
||||
MySQL provides connectivity for client applications developed in .NET compatible programming languages with MySQL Connector/NET through a series of packages.
|
||||
|
||||
MySql.Data is the core package of Connector/NET. It is compatible with .NET Framework 4.6+ and .NET 8.0+ and provides classic MySQL protocol and MySQL X DevAPI capabilities.
|
||||
|
||||
More information at [MySQL Connector/NET documentation](https://dev.mysql.com/doc/connector-net/en/).
|
||||
|
||||
## How to use
|
||||
|
||||
```
|
||||
MySql.Data.MySqlClient.MySqlConnection myConnection;
|
||||
string myConnectionString;
|
||||
//set the correct values for your server, user, password and database name
|
||||
myConnectionString = "server=127.0.0.1;uid=root;pwd=12345;database=test";
|
||||
|
||||
try
|
||||
{
|
||||
myConnection = new MySql.Data.MySqlClient.MySqlConnection(myConnectionString);
|
||||
//open a connection
|
||||
myConnection.Open();
|
||||
|
||||
// create a MySQL command and set the SQL statement with parameters
|
||||
MySqlCommand myCommand = new MySqlCommand();
|
||||
myCommand.Connection = myConnection;
|
||||
myCommand.CommandText = @"SELECT * FROM clients WHERE client_id = @clientId;";
|
||||
myCommand.Parameters.AddWithValue("@clientId", clientId);
|
||||
|
||||
// execute the command and read the results
|
||||
using var myReader = myCommand.ExecuteReader()
|
||||
{
|
||||
while (myReader.Read())
|
||||
{
|
||||
var id = myReader.GetInt32("client_id");
|
||||
var name = myReader.GetString("client_name");
|
||||
// ...
|
||||
}
|
||||
}
|
||||
myConnection.Close();
|
||||
}
|
||||
catch (MySql.Data.MySqlClient.MySqlException ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
```
|
||||
|
||||
## Related Packages
|
||||
|
||||
* Entity Framework Core: [MySql.EntityFrameworkCore](https://www.nuget.org/packages/MySql.EntityFrameworkCore/)
|
||||
* Entity Framework: [MySql.Data.EntityFramework](https://www.nuget.org/packages/MySql.Data.EntityFramework/)
|
||||
* Web: [MySql.Web](https://www.nuget.org/packages/MySql.Web/)
|
||||
* OpenTelemetry: [MySql.Data.OpenTelemetry](https://www.nuget.org/packages/MySql.Data.OpenTelemetry/)
|
||||
|
||||
## Licensing
|
||||
|
||||
Please refer to files [README](https://github.com/mysql/mysql-connector-net/blob/-/README) and [LICENSE](https://github.com/mysql/mysql-connector-net/blob/-/LICENSE), available in the Connector/NET GitHub repository, and [Legal Notices in documentation](https://dev.mysql.com/doc/connector-net/en/preface.html) for further details.
|
||||
|
||||
## Security
|
||||
|
||||
Oracle values the independent security research community and believes that responsible disclosure of security vulnerabilities helps us ensure the security and privacy of all our users. Please refer to the [security guidelines](https://github.com/mysql/mysql-connector-net/blob/-/SECURITY.md) document for additional information.
|
||||
|
||||
## Contributing
|
||||
|
||||
We greatly appreciate feedback from our users, including bug reports and code contributions. Your input helps us improve, and we thank you for any issues you report or code you contribute. Please refer to the [contributing guidelines](https://github.com/mysql/mysql-connector-net/blob/-/CONTRIBUTING.md) document for additional information.
|
||||
|
||||
### Additional Resources
|
||||
|
||||
* [MySQL Connector/NET GitHub](https://github.com/mysql/mysql-connector-net/)
|
||||
* [MySQL Connector/NET Developer Guide](https://dev.mysql.com/doc/connector-net/en/)
|
||||
* [MySQL Connector/NET API](https://dev.mysql.com/doc/dev/connector-net/latest/)
|
||||
* [MySQL NuGet](https://www.nuget.org/profiles/MySQL/)
|
||||
* [MySQL Connector/NET and C#, Mono, .Net Forum](https://forums.mysql.com/list.php?38)
|
||||
* [`#connectors` channel on MySQL Community Slack](https://mysqlcommunity.slack.com/messages/connectors/) ([Sign-up](https://lefred.be/mysql-community-on-slack/) required if you do not have an Oracle account.)
|
||||
* [@MySQL on X](https://x.com/MySQL/).
|
||||
* [MySQL Blog](https://blogs.oracle.com/mysql/).
|
||||
* [MySQL Connectors Blog archive](https://dev.mysql.com/blog-archive/?cat=Connectors%20%2F%20Languages).
|
||||
* [MySQL Newsletter](https://www.mysql.com/news-and-events/newsletter/).
|
||||
* [MySQL Bugs Tracking System](https://bugs.mysql.com).
|
||||
|
||||
For more information about this and other MySQL products, please visit [MySQL Contact & Questions](https://www.mysql.com/about/contact/).
|
||||
BIN
packages/MySql.Data.9.3.0/lib/net462/MySql.Data.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/lib/net462/MySql.Data.dll
vendored
Normal file
Binary file not shown.
18618
packages/MySql.Data.9.3.0/lib/net462/MySql.Data.xml
vendored
Normal file
18618
packages/MySql.Data.9.3.0/lib/net462/MySql.Data.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/lib/net48/MySql.Data.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/lib/net48/MySql.Data.dll
vendored
Normal file
Binary file not shown.
18618
packages/MySql.Data.9.3.0/lib/net48/MySql.Data.xml
vendored
Normal file
18618
packages/MySql.Data.9.3.0/lib/net48/MySql.Data.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/lib/net8.0/MySql.Data.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/lib/net8.0/MySql.Data.dll
vendored
Normal file
Binary file not shown.
18641
packages/MySql.Data.9.3.0/lib/net8.0/MySql.Data.xml
vendored
Normal file
18641
packages/MySql.Data.9.3.0/lib/net8.0/MySql.Data.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/lib/net9.0/MySql.Data.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/lib/net9.0/MySql.Data.dll
vendored
Normal file
Binary file not shown.
18641
packages/MySql.Data.9.3.0/lib/net9.0/MySql.Data.xml
vendored
Normal file
18641
packages/MySql.Data.9.3.0/lib/net9.0/MySql.Data.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/lib/netstandard2.0/MySql.Data.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/lib/netstandard2.0/MySql.Data.dll
vendored
Normal file
Binary file not shown.
18618
packages/MySql.Data.9.3.0/lib/netstandard2.0/MySql.Data.xml
vendored
Normal file
18618
packages/MySql.Data.9.3.0/lib/netstandard2.0/MySql.Data.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/lib/netstandard2.1/MySql.Data.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/lib/netstandard2.1/MySql.Data.dll
vendored
Normal file
Binary file not shown.
18641
packages/MySql.Data.9.3.0/lib/netstandard2.1/MySql.Data.xml
vendored
Normal file
18641
packages/MySql.Data.9.3.0/lib/netstandard2.1/MySql.Data.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MySql.Data.9.3.0/logo-mysql-170x115.png
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/logo-mysql-170x115.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/comerr64.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/comerr64.dll
vendored
Normal file
Binary file not shown.
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/gssapi64.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/gssapi64.dll
vendored
Normal file
Binary file not shown.
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/k5sprt64.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/k5sprt64.dll
vendored
Normal file
Binary file not shown.
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/krb5_64.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/krb5_64.dll
vendored
Normal file
Binary file not shown.
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/krbcc64.dll
vendored
Normal file
BIN
packages/MySql.Data.9.3.0/runtimes/win-x64/native/krbcc64.dll
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user