
- Forum
- Programming Talk
- C and C++
- Help Needed to Connect to Database
Help Needed to Connect to Database
This is a discussion on Help Needed to Connect to Database within the C and C++ forums, part of the Programming Talk category; I want to connect to MYSQL in my C program so that I can do some database operations using my ...
-
Help Needed to Connect to Database
I want to connect to MYSQL in my C program so that I can do some database operations using my C program itself. How can I connect to MYSQL from my C program. Someone help in achieving the connection to the database.
-
You can make use of connect_to_mysql to connect to SQL from your C program. For this you must include the header file named as mysqlfunc.h. The syntax of using connect_to_mysql is given below:
mysqlconn = connect_to_mysql(mysqlconn);
Try and let me know if you need further help in this regard.

Reply With Quote





