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.
Para isso basta fazer o seguinte:
1. download dos arquivos
[Conteúdo oculto]
coloque em sftp ftp para ur server e siga 2. 3 . 4. passo
2. instale mysql56
[CÓDIGO]pkg install mysql56-client-5.6.51.pkg mysql56-server-5.6.51.pkg[/CÓDIGO]
3. verifique se os arquivos da biblioteca já estão instalados
Code:
localizar / - nomear "libssl.so.111" && localizar / - nome "libcrypto.so.111"
este comando deve este resultado à medida que forem instalados
[CÓDIGO]/usr/lib/libssl.so.111
/lib/libcrypto.so.111[/CÓDIGO]
Se mostrar nada significa que temos que instalá-los manualmente
[CÓDIGO]tar -xzf libs_64bit_mysql.tgz -C /[/CÓDIGO]
(para Freebsd 32bit use libs_32bit_mysql.tgz )
3.now temos mysql56 instalado e proceder como padrão
[CÓDIGO]sysrc mysql_enable=SIM
serviço mysql-server start
mysql_secure_instalation[/CÓDIGO]
O resto é feito exatamente igual a qualquer outro servidor mysql, depois é só adicionar o usuário e instalar os bancos de dados.