Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.

apt-get install libmysqlcppconn-dev

However, I did do this first You probably will need to as well.

Update (it works)

I tried this with this flag, and it worked.

share|improve this answer

Your Answer


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.