Tá, vamos ligar o the new world como exemplo
1 - Baixe e instale o xampp
1 - Download and install xampp
[Hidden Content]
2 - Qual meu IP? 192.168.1.106 Abra o CMD e de o comando ipconfig
2 - What is my IP? 192.168.1.106 Open CMD and run the command ipconfig
3 - banco de dados: Quando instalar o xampp abra o Xampp Control Panel e inicie Apache e MySQL e clique em Admin do MySql
3 - Database: When installing Xampp, open the Xampp Control Panel and start Apache and MySQL and click on MySql Admin
Abre o banco.sql com o bloco de notas, vão em editar > substituir
Open the database.sql with notepad, go to edit > replace
vc vai substituir tudo de utf8mb4_0900_ai_ci para utf8mb4_general_ci e salva
you will replace everything from utf8mb4_0900_ai_ci to utf8mb4_general_ci and save
Com o xampp ligado MySql, vai em importar, desmarque essas 2 opções q destaquei na imagem
With xampp connected to MySql, go to import, uncheck these 2 options that I highlighted in the image
Escolhe o arquivo do banco de dados e importar
Choose database file and import
Ps.: O nome ai ta diferente p q eu mudei o nome do banco, mas vai estar "wydsite" apenas ou para qual escolher
Ps.: The name is different because I changed the name of the bank, but it will be "wydsite" only or whichever you choose
4 - Abre a source e pesquise por "wydsite" que é o banco que subiu
4 - Open the source and search for "wydsite" which is the bank that was uploaded
Voce vai mudar tanto na DB quanto na TM, TIRE A SENHA, pois o xampp quando inicia o banco de dados nao pede.
Voce vai compilar e vai ser gerado o DBsrv.exe e a TMsrv.exe
Coloque esses executaveis em suas respetivas pastas
You will change both the DB and the TM, REMOVE THE PASSWORD, because when XAMPP starts the database it does not ask for it.
You will compile and DBsrv.exe and TMsrv.exe will be generated.
Place these executables in their respective folders
5 - Configurar IP
5 - Configure IP
Abre o programa poe seu IP e de ENTER
Open the program, enter your IP and press ENTER
pronto, seu server ta configurado
ready, your server is configured
Falta o serverlist.bin do cliente
Abre o programa e procura o serverlist.bin direto la do cliente
The serverlist.bin from the client is missing
Open the program and look for the serverlist.bin directly from the client
Mude o IP de baixo, a parte de cima deixa como está, clica em Update para salvar e la em cima Save File as .bin e substitua o do cliente sobreescrevendo o atual.
Change the IP below, leave the top part as is, click Update to save and at the top Save File as .bin and replace the client's one by overwriting the current one.
6 - Liga o BD primeiro e a TM depois
6 - Turn on the BD first and the TM later
Se pedir para autorizar o firewall faça
If it asks you to authorize the firewall, do it!
7 - Para criar conta pode ir no sql, accounts, inserir, e depois la em baixo em executar pra salvar
7 - To create an account, go to SQL, accounts, insert, and then click on Run to save.
Pronto
Ready!
so ser feliz srsrsrs
just be happy lol!
OBSERVAÇÃO: Em ambas as patas DBsrv/run e TMSrv/run tem esta dll "LIBMYSQL.dll". Certifique-se que tenha ela la para funcionar corretamente!
NOTE: In both DBsrv/run and TMSrv/run paths there is this dll "LIBMYSQL.dll". Make sure you have it there to work properly!
OBSERVAÇÃO 2: Use o Visual Studio atualizado (eu usei o 2022 Community) com as bibliotecas de C/C++/C#... instaladas para nao ocorrer erros (isso vai exigir espaço para a instalação)
NOTE 2: Use the updated Visual Studio (I used 2022 Community) with the C/C++/C#... libraries installed to avoid errors (this will require space for installation)
Segue o passo a passo do para conseguir ligar qualquer servidor que peça banco de dados!
Se tiver duvida ou dando erro posta aqui, pois a sua duvida pode ser de outros tbm.
No que Eu souber ajudo :)
Forte abraços!
Follow the step-by-step guide to connect any server that requests a database!
If you have any questions or if you get an error, post them here, as your question may be shared by others as well.
I can help you if I know anything :)
Big hugs!