Jump to content
  • 0

problema la samp-server


xJohn

Question

6 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.