Installing MySQL Connector/C++












8















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





























    8















    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



























      8












      8








      8


      3






      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
















      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?







      mysql c++ ide






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 20 '12 at 9:52









      dlin

      2,22721631




      2,22721631










      asked Jul 20 '12 at 9:24









      Evaggelos TsampazisEvaggelos Tsampazis

      46124




      46124






















          2 Answers
          2






          active

          oldest

          votes


















          11














          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 https://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 https://stackoverflow.com/a/11879650/1382306, and it worked.






          share|improve this answer

































            0














            Goto command line and type :



            sudo apt-get install libmysqlcppconn-dev


            Or if your are having some other issues you can go to the main website page :
            MySQL Connector Download
            And download and build the connector yourself.





            share








            New contributor




            Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f165868%2finstalling-mysql-connector-c%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              11














              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 https://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 https://stackoverflow.com/a/11879650/1382306, and it worked.






              share|improve this answer






























                11














                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 https://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 https://stackoverflow.com/a/11879650/1382306, and it worked.






                share|improve this answer




























                  11












                  11








                  11







                  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 https://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 https://stackoverflow.com/a/11879650/1382306, and it worked.






                  share|improve this 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 https://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 https://stackoverflow.com/a/11879650/1382306, and it worked.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 23 '17 at 12:39









                  Community

                  1




                  1










                  answered Mar 14 '13 at 3:32







                  user128334
































                      0














                      Goto command line and type :



                      sudo apt-get install libmysqlcppconn-dev


                      Or if your are having some other issues you can go to the main website page :
                      MySQL Connector Download
                      And download and build the connector yourself.





                      share








                      New contributor




                      Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        Goto command line and type :



                        sudo apt-get install libmysqlcppconn-dev


                        Or if your are having some other issues you can go to the main website page :
                        MySQL Connector Download
                        And download and build the connector yourself.





                        share








                        New contributor




                        Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          Goto command line and type :



                          sudo apt-get install libmysqlcppconn-dev


                          Or if your are having some other issues you can go to the main website page :
                          MySQL Connector Download
                          And download and build the connector yourself.





                          share








                          New contributor




                          Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          Goto command line and type :



                          sudo apt-get install libmysqlcppconn-dev


                          Or if your are having some other issues you can go to the main website page :
                          MySQL Connector Download
                          And download and build the connector yourself.






                          share








                          New contributor




                          Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.








                          share


                          share






                          New contributor




                          Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 2 mins ago









                          Subham DebnathSubham Debnath

                          1




                          1




                          New contributor




                          Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Subham Debnath is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f165868%2finstalling-mysql-connector-c%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown