- 0
[Problema] Conectare baza de date
-
Similar Content
-
- 7 answers
- 1,989 views
-
- 3 answers
- 1,971 views
-
- 3 replies
- 258 views
-
- 4 replies
- 496 views
-
- 1 reply
- 214 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!
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now