Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

5.8.7.2. Using SSL Connections with OpenSSL

To use SSL connections between the MySQL server and client programs, your system must support either OpenSSL or yaSSL. This section covers OpenSSL. To use yaSSL, read Section 5.8.7.3, “Using SSL Connections with yaSSL”, instead.

To get secure connections to work with MySQL and OpenSSL, you must do the following:

  1. Install the OpenSSL library if it has not already been installed. We have tested MySQL with OpenSSL 0.9.6. If you need OpenSSL, visit https://www.openssl.org.

  2. When you configure MySQL, invoke the configure script with the --with-vio and --with-openssl options:

    shell> ./configure --with-vio --with-openssl
    
  3. Make sure that you have upgraded your grant tables to include the SSL-related columns in the mysql.user table. This is necessary if your grant tables date from a version prior to MySQL 4.0.0. The upgrade procedure is described in Section 5.5.2, “mysql_upgrade — Check Tables for MySQL Upgrade”.

  4. To check whether a running mysqld server supports OpenSSL, examine the value of the have_openssl system variable:

    mysql> SHOW VARIABLES LIKE 'have_openssl';
    +---------------+-------+
    | Variable_name | Value |
    +---------------+-------+
    | have_openssl  | YES   |
    +---------------+-------+
    

    If the value is YES, the server supports OpenSSL connections.


 
 
  Published under the terms of the GNU General Public License Design by Interspire