Cześć,
chciałbym Was prosić o pomoc z baza danych MYSQL, posiadam serwer VPS na ktorym mam zainstalowany SAMP + WWW.
Skrypt jest pisany pod system mysql i gdy chce połączyć się z baza ''localhost'' wywala mi błąd, jak go naprawic? Dziękuje za pomoc.
SYSTEM 32BIT DEBIAN 6
[21:19:58] >> mysql_connect( ) [21:19:58] CMySQLHandler::CMySQLHandler() - constructor called. [21:19:58] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "baza" | Username: "root" ... [21:19:58] CMySQLHandler::Connect() - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) (Error ID: 2002) [21:19:58] >> mysql_free_result( Connection handle: 1 ) [21:19:58] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead) [21:19:58] >> mysql_query( Connection handle: 1 ) [21:19:58] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead) [21:19:58] >> mysql_store_result( Connection handle: 1 ) [21:19:58] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead) [21:19:58] >> mysql_fetch_row_format( Connection handle: 1 )