- 0
[Problema] Conectare baza de date
-
Similar Content
-
baza de date
By tyur21a,
- 3 answers
- 229 views
-
- 2 answers
- 1,496 views
-
- 5 replies
- 1,078 views
-
- 5 replies
- 2,477 views
-
Problema turf
By Soryn.,
- 3 answers
- 258 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.