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

Question

Posted

Salut , 

folosesc UNNIC RPG gamemode si i-am facut conexiunea la mysql in gamemode iar cand il aprind observ in mysql_log aceasta eroare [04:20:20] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'zp_hid6004'@'149.202.131.218' (using password: YES)

 . Se conecteaza la baza de date cu acest user care nu l-am definit eu . 

Am cautat in gamemode acest user cat si in SQL si nu l-am gasit . Stie cineva rezolvareA?

4 answers to this question

Recommended Posts

  • 0
Posted

Cauta in baza de date, voi reveni mai tarziu cu un edit cu numele programului care il poti folosi pentru a deschide baza de date sa stergi userul.

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

  • 0
Posted

Du-te la OnGameModeInt si verifica

SQL = mysql_connect("", "aici ar trebuii sa fie zp_hid6004", "", "");

 

242086.png

  • 0
Posted

La OnGameModeInt trebuie sa ai asa


    // ONGAMEMODEINIT
public OnGameModeInit()
{
    mysql_log(LOG_ERROR, LOG_TYPE_TEXT);
    SQL = mysql_connect("IP Baza date", "user", "DB", "parola"); 
    SetNameTagDrawDistance(50);
    EnableStuntBonusForAll(0);
    ShowPlayerMarkers(2);
    LimitPlayerMarkerRadius(8.0);
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];

 

La linia asta SQL = mysql_connect("IP Baza date", "user", "DB", "parola");  pui datele de la mysql.

    

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.