Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6711433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:08:22+00:00 2026-05-26T08:08:22+00:00

I am attempting to get MySQL++ to work correctly on Debian 6 with SSL

  • 0

I am attempting to get MySQL++ to work correctly on Debian 6 with SSL support. I have tested everything on Windows 7 and it works great. Everything is encrypted. I am having a little bit of trouble porting it to Debian though.

This is my error:


terminate called after throwing an instance of 'mysqlpp::BadOption'
what(): Option not supported by database driver v5.1.49

This is my call for setting the certificate files:

connection->set_option(new mysqlpp::SslOption("/root/certs/client-key.pem", "/root/certs/client-cert.pem", "/root/certs/ca-cert.pem", "/root/certs", "DHE-RSA-AES256-SHA"));

I have noticed that when configuring MySQL++ it looks for mysql_ssl_set() in libmysqlclient. It does not find that function.

checking for mysql_ssl_set in -l... no

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:08:22+00:00Added an answer on May 26, 2026 at 8:08 am

    This bug is fixed in MySQL++ 3.2.0, released today.

    In older versions, there’s a bug in the test for mysql_ssl_set(). If you cannot use the current version but can patch your version’s source code, this will fix it:

    Index: config/mysql_ssl.m4
    ===================================================================
    --- config/mysql_ssl.m4 (revision 2696)
    +++ config/mysql_ssl.m4 (working copy)
    @@ -10,7 +10,7 @@
         #
         # Check for mysql_ssl_set() in libmysqlclient(_r)
         #
    -    AC_CHECK_LIB($MYSQL_C_LIB, mysql_ssl_set, [
    +    AC_CHECK_LIB($MYSQL_C_LIB_NAME, mysql_ssl_set, [
            AC_DEFINE(HAVE_MYSQL_SSL_SET,, Define if your MySQL library has SSL functions)
         ]) dnl AC_CHECK_LIB(mysqlclient, mysql_ssl_set)
     ]) dnl  MYSQL_WITH_SSL
    

    You will then need to re-bootstrap the source tree, and rebuild.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been attempting to get the MySQL Embedded Library working in my C#
I'm attempting to get my first ASP.NET web page working on windows using Mono
I have been attempting to get log4net logging in my asp.net web application with
I am attempting to get all the data from a MySQL db with PHP,
I get the following error when attempting to connect to the MySQL database on
I am attempting to get my first Django project working, on Windows, but I
I'm pretty novice at MYSQL, but I'm attempting to get a count from a
I have some code written that is attempting to connect to a mysql db.
I'm trying to get away from using Mamp, so have recently installed mysql, edited
i'm attempting to make a purchase ordering system for work in php, mysql and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.