• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Member
May
Threads
1
98
6
8
HubMoney
565
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. check if the library files are already installed

Code:
find / -iname "libssl.so.111" && find / -iname "libcrypto.so.111"
this command should this result as they are installed

Code:
/usr/lib/libssl.so.111
/lib/libcrypto.so.111
If it shows nothing means that we have to install them manually

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
The rest is done exactly the same as with any other mysql server, then just add the user and install the databases.
thx
 
Member
Jan
Threads
0
3
0
1
HubMoney
17
Às vezes, é necessário usar um software mais antigo devido a problemas de compatibilidade com a versão atual. Frequentemente, isso ocorre em servidores Metin2, onde há diferenças entre as versões do MySQL/MariaDB e as versões 5.6/8.0/5.6/8.0/8.0/5.6/8.0. Para evitar esse problema, existe uma maneira de instalar o mysql56-server e o mysql56-client em qualquer versão do FreeBSD até a 14 x64.

Para fazer isso, basta seguir os passos abaixo:
1. Baixe os arquivos
[Conteúdo oculto]
Configure o SFTP para FTP no seu servidor e siga os passos 2, 3 e 4.

2. Instale o MySQL 56.

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 nisso, pois eles estão instalados.

[CÓDIGO]/usr/lib/libssl.so.111
/lib/libcrypto.so.111[/CODE]
Se nada aparecer, significa que temos que instalá-los manualmente.

[CÓDIGO]tar -xzf libs_64bit_mysql.tgz -C /[/CÓDIGO]
(Para FreeBSD de 32 bits, use libs_32bit_mysql.tgz)

3. Agora que o MySQL 5.6 está instalado, prossiga normalmente.

[CÓDIGO]sysrc mysql_enable=SIM
iniciar o serviço mysql-server
mysql_secure_installation[/CODE]
O restante é feito exatamente da mesma forma que em qualquer outro servidor MySQL; basta adicionar o usuário e instalar os bancos de dados.