Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

connect to mysql with c#.net

Tags:

c#

.net

mysql

how can i connect with MySql in app?and what software,i must install for mysql?thanks.

like image 806
Farna Avatar asked Aug 10 '10 11:08

Farna


People also ask

Can we connect MySQL with C?

MySQL database is available on most important OS platforms. It runs on BSD Unix, Linux, Windows, or Mac OS. To be able to compile C examples, we need to install the MySQL C development libraries. The above line shows how we can do it on Debian based Linux.

Can we connect C with database?

You can then add a new C source file and replace it with this content. Using the ODBC APIs SQLAllocHandle, SQLSetConnectAttr, and SQLDriverConnect, you should be able to initialize and establish a connection to your database.

Can we connect MySQL with C++?

MySQL Connector/C++ 8.0 is a MySQL database connector for C++ applications that connect to MySQL servers. Connector/C++ can be used to access MySQL servers that implement a document store, or in a traditional way using SQL statements.


1 Answers

You can use MySQL connector: MySQL Connector, everything you need you'll find on tutorials page

like image 159
Jarek Avatar answered Sep 30 '22 09:09

Jarek