Jump to content
  • 0

User ascuns in gamemode MYSQL?



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'@'' (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?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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


Link to comment
Share on other sites

  • 0

La OnGameModeInt trebuie sa ai asa

public OnGameModeInit()
    mysql_log(LOG_ERROR, LOG_TYPE_TEXT);
    SQL = mysql_connect("IP Baza date", "user", "DB", "parola"); 
    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.


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.

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.