- 0
[Problema] Conectare baza de date
-
Similar Content
-
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!
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