Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

problema la samp-server


Question

6 answers to this question

Recommended Posts

  • 0
Posted

Copilas, nu ai facut conexiunea SERVER => DATABASE.

1. Modificam in gamemode: 

  1. #define SQL_HOST "localhost"
  2. #define SQL_USER "root"
  3. #define SQL_PASS "password"
  4. #define SQL_DB "test"

 

SQL_HOST / localhost = IP unde este instalat phpmyadmin, daca e instalat pe ip de la gamecp poti lasa localhost daca nu e pe acelasi IP il schimbi cu IP primit.

SQL_USER / root = Username cu care te loghezi in phpmyadmin.

SQL_PASS / password = Parola de la contul "root" cu care te loghezi.

SQL_DB / test = Baza de date care a fost creata, in proportie de 98% baza de date si username-ul sunt la fel.

 

2. Intram in phpmyadmin ( ip/phpmyadmin ) si urcam baza de date ( este cea care apare in GameMode cu extensia .sql ).

 

S6M3aTj.png

 

 

Server-ul ar trebuie sa ruleze daca ai parcurs pasii acestia, daca intampini o problema cauta-ma.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.