I am new to C++.
I am trying to make a MySQL connection. I found that it requires mysql-connector. I installed boost-dev-all . I have put my
mysql-connector
in local directory ~/bin
. I have successfully installed it.
But when I try to make mysql connection, I get an error:
fatal: cppcon: directory missing
On digging around, I understoodd cppconn
folder has been missing from /usr/include
. Should I copy cppconn
folder to /usr/include
?
sudo cp /bin/mysql-connector /usr/include