Post4VPS Forum | Free VPS Provider
mysql connection with c++ program - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: mysql connection with c++ program (/Thread-mysql-connection-with-c-program)



mysql connection with c++ program - Decent12 - 12-19-2018

hey,
i just want to make a project in c++ for assignment from college but the thing i want to create needs a database just wondering how to connect mysql db with c++ program i searched in google and got this(https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-examples-complete-example-1.html) but there are header files which are not exists in compiler and its throwing errors.


RE: mysql connection with c++ program - rudra - 12-19-2018

these links will help you i'm sure..

https://dev.mysql.com/doc/connector-cpp/8.0/en/connector-cpp-introduction.html

download page

https://dev.mysql.com/downloads/connector/cpp/

the github page for the source
https://github.com/mysql/mysql-connector-cpp

more links..

https://www.geeksforgeeks.org/database-connectivity-using-cc/

http://www.worldbestlearningcenter.com/index_files/cpp-tutorial-code_retrieve_manipulate_data.htm

an old book. but quite relevant..

https://docstore.mik.ua/orelly/linux/sql/ch13_01.htm

really weird but fun project here

https://blog.sourcerer.io/building-a-website-with-c-db942c801aee