Sol Reklam
Sağ Reklam
What's new

mysql56-server on any FreeBSD _i386 /x64

KONU YAZAR

Shanti

New member
Onaylı Üye
Apr
16
17
1
Sometimes there is a need to use older software because there are compatibility problems with the current one. Often such a case in the metin2 server is a mysql server where there are differences between versions of mysql /mariadb and releases /5.6 /8.0. To avoid this hassle there is a way to install mysql56-server mysql56-client on any release of Freebsd up to 14 x64.

To do this just do the following:

1. download the files




put in sftp ftp to ur server and follow 2. 3. 4. step

2. install mysql56

Kod:


Code:
pkg install mysql56-client-5.6.51.pkg mysql56-server-5.6.51.pkg

3. check if the library files are already installed

Kod:


Code:
find / -iname "libssl.so.111" && find / -iname "libcrypto.so.111"

this command should this result as they are installed

Kod:


Code:
/usr/lib/libssl.so.111
/lib/libcrypto.so.111

If it shows nothing means that we have to install them manually

Kod:


Code:
tar -xzf libs_64bit_mysql.tgz -C /

(for Freebsd 32bit use libs_32bit_mysql.tgz )

3.now we have mysql56 installed and proceed as standard

Kod:


Code:
sysrc mysql_enable=YES
service mysql-server start
mysql_secure_installation

The rest is done exactly the same as with any other mysql server, then just add the user and install the databases.

 
Back
Top