- 0
[Problema] Conectare baza de date
-
Similar Content
-
- 21 replies
- 306 views
-
- 3 answers
- 192 views
-
- 1 reply
- 114 views
-
- 2 answers
- 221 views
-
- 0 answers
- 31 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Pro Jocuri
Buna ziua tuturor, azi am incercat sa pornesc un server de samp, l-am conectat la baza de date, tot ce trebuia, dar nu merge
Nu imi apare sa ma loghez, doar sa dau spawn, si dupa imi da kick.
[03:16:31] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:16:31] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:16:31] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[03:16:31] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:16:31] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:16:31] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Asta primesc in mysql_log
Aici este linia de conectare la baza de date
if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("188.212.100.198", "clientxxx" "client269_xxx", "xxxxxxxx"), print("Server: hosted");
else SQL = mysql_connect("188.212.100.198", "client269_samp", "clientxxx, "xxxxxxxxxx"), print("Server: localhost");
Sper ca ma puteti ajuta.. va rog mult!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.