When percona is installed, the error while loading shared libraries: libssl. so is returned.

Source: Internet
Author: User
Tags percona

Download the perconal binary package and unzip it.

While loading shared libraries: libssl. so.6: cannot open shared object file:

Check that the system has installed rpm packages such as openssl, so make a soft connection

32-bit system

Ln-sf/usr/lib/libssl. so.10/usr/lib/libssl. so.6
Ln-sf/usr/lib/libcrypto. so.10/usr/lib/libcrypto. so.6


64-bit system

Ln-sf/usr/lib64/libssl. so.10/usr/lib64/libssl. so.6
Ln-sf/usr/lib64/libcrypto. so.10/usr/lib64/libcrypto. so.6

Install percona

Download Percona DB
Wget http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.17-22.1/source/Percona-Server-5.5.17-rel22.1.tar.gz
 
Download CMAKE
Wget http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz
 
Install CMAKE
Tar zxf cmake-2.8.5.tar.gz
Cd cmake-2.8.5
./Bootstrap
Make
Make install
 
Prepare for Percona installation
Yum install libaio-devel
Useradd mysql
 
Install Percona DB
Tar-zxvf Percona-Server-5.5.17-rel22.1.tar.gz
Cd Percona-Server-5.5.17-rel22.1
 
Configuration
Cmake. -runtime =/usr/local/perconamysql-runtime = 1-runtime = 1-DEXTRA_CHARSETS = all-DDEFAULT_CHARSET = utf8-runtime = runtime-DWITH_DEBUG = 0-DBUILD_CONFIG = mysql_release-DFEATURE_SET community-DWITH_EMBEDDED_SERVER = OFF
 
Compile and install
Make & make install
 
Create a configuration file
Cp support-files/my-innodb-heavy-4G.cnf/etc/my. cnf
 
Initialize database
/Usr/local/perconamysql/scripts/mysql_install_db -- basedir =/usr/local/perconamysql/-- datadir =/usr/local/perconamysql/data/-- user = mysql
 
START database
/Usr/local/perconamysql/bin/mysqld_safe -- user = mysql &

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.