Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to know which is the procedure to install the mysql c++ connector.

After installing it to my Ubuntu OS will I have these extra c++ commands avaiable in every c++ IDE? For example, can I use them in Qt, Netbeans, eclipse for c++ and all other c++ IDE environments after a successful installation?

share|improve this question
add comment

1 Answer

Using a debian command worked for me, but I haven't tested the libs yet, so I'm not 100% sure if it truly worked. http://packages.debian.org/sid/libmysqlcppconn-dev

apt-get install libmysqlcppconn-dev

However, I did do this first http://askubuntu.com/a/259603/128334. You probably will need to as well.

Update (it works)

I tried this http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-examples-complete-example-1.html with this flag http://stackoverflow.com/a/11879650/1382306, and it worked.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.