Skip to content

A dotnet 6 wrapper around the c mysql client library

License

Notifications You must be signed in to change notification settings

ryancheung/MySqlSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget

MySqlSharp

A dotnet 6 wrapper around the MySQL C library libmysql.dll, libmysqlclient.dylib or libmysqlclient.so

Supported MySQL version

MySQL Server 5.7+

Setup

Install MySQL client library first. MySqlSharp doesn't include any binaries.

Usage

MySqlSharp wrapps the C APIs from libmysqlclient. All APIs are almost the same as the original C API.
See tests/MySqlClientTests.cs for usage examples.

NOTE if you're using MySQL 5.7, you'll have to use the *OLD structs for data marshaling.

API Reference

https://dev.mysql.com/doc/c-api/8.0/en/mysql-init.html

About

A dotnet 6 wrapper around the c mysql client library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages