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
[Hidden content]
put in sftp ftp to ur server and follow 2. 3. 4. step
2. install mysql56
Code:
pkg install mysql56-client-5.6.51.pkg mysql56-server-5.6.51.pkg
3. Verifique se os arquivos da biblioteca já estão instalados
Code:
find / -iname "libssl.so.111" && find / -iname "libcrypto.so.111"
este comando deve resultar à medida que são instalados
Code:
/usr/lib/libssl.so.111
/lib/libcrypto.so.111
Se não mostrar nada, significa que temos que instalá-los manualmente
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
Code:
sysrc mysql_enable=YES
service mysql-server start
mysql_secure_installation
O resto é feito exatamente da mesma forma que com qualquer outro servidor mysql, depois é só adicionar o usuário e instalar os bancos de dados.