Jump to content

problema register/login


LaySpace

Recommended Posts

[11:53:33] [WARNING] mysql_connect: no password specified
[11:53:33] [ERROR] mysql_connect: handle error: no database specified
[11:53:33] [ERROR] mysql_errno: invalid connection handle '1'
[11:53:33] [ERROR] mysql_close: invalid connection handle '0'
[11:54:13] [WARNING] mysql_connect: no password specified
[11:54:13] [ERROR] mysql_connect: handle error: no database specified
[11:54:13] [ERROR] mysql_errno: invalid connection handle '1'
[11:54:13] [ERROR] mysql_close: invalid connection handle '0'
 

ma poate ajuta careva? In programul PAWNO, nu mi-a dat nicio eroare

Edited by LaySpace
Link to comment
Share on other sites

Acum 15 minute, LaySpace a spus:

si cum l-as putea conecta mai bine?

In primul rand in functie versiunea mysql pe care o are gm tau

Pentru r33+

mysql_connect("ip", "user", "mydatabase", "mypass");

Pentru r40+

mysql_connect("ip", "user", "mypass", "mydatabase");

Desi ar trebui sa ai deja functia la OnGamemodeInit si va trebui sa inlocuiesti in ea cu datele primite de la firma de host(asta daca ai optat pentru host care ofera si baza de date MySQL) si cam atat. Sau daca esti pe localhost e ip: 127.0.0.1, user: root si parola lasata goala

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
Reply to this topic...

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