Добрый день еще раз создаю тему оо запуске VPS сервера
проблема: Подключение к БД
[IMG][/IMG]
Ошибки в MYSQL_LOG
Код:
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBankLoadMaterials()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBankLoadMaterials()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBackLoadBizz()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBackLoadBizz()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBackLoadProperty()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBackLoadProperty()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBackLoadSBizz()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBackLoadSBizz()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBackLoadAvto()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBackLoadAvto()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBackLoadBankMafia()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBackLoadBankMafia()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBankLoadBankFrack()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBankLoadBankFrack()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[20:42:16] [ERROR] CMySQLQuery::Execute[CallBackLoadAtm()] - (error #2006) MySQL server has gone away
[20:42:16] [WARNING] CMySQLQuery::Execute[CallBackLoadAtm()] - lost connection, reconnecting..
[20:42:16] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
SERVER_LOG
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x-R2-1000p, (C)2005-2013 SA-MP Team
[20:42:16] filterscripts = "" (string)
[20:42:16]
[20:42:16] Server Plugins
[20:42:16] --------------
[20:42:16] Loading plugin: mysql.so
[20:42:16] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[20:42:16] Loading plugin: streamer.so
[20:42:16]
*** Streamer Plugin v2.5.2 by Incognito loaded ***
[20:42:16] Loaded.
[20:42:16] Loading plugin: sscanf.so
[20:42:16]
[20:42:16] ===============================
[20:42:16] sscanf plugin loaded.
[20:42:16] (c) 2009 Alex "Y_Less" Cole
[20:42:16] ===============================
[20:42:16] Loaded.
[20:42:16] Loading plugin: regex.so
[20:42:16]
[20:42:16] ______________________________________
[20:42:16] Regular Expression Plugin v0.2.1 loaded
[20:42:16] ______________________________________
[20:42:16] By: Fro (c) Copyright <TBG> 2009-2011
[20:42:16] ______________________________________
[20:42:16] Loaded.
[20:42:16] Loading plugin: mysql_static.so
[20:42:16] >> plugin.mysql: R34 successfully loaded.
[20:42:16] Loaded.
[20:42:16] Loading plugin: mysql_5.5.so
[20:42:16] Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[20:42:16] Loaded 4 plugins.
[20:42:16]
[20:42:16] Filterscripts
[20:42:16] ---------------
[20:42:16] Loaded 0 filterscripts.
[20:42:16] Could not connect to database!
[20:42:16] Number of vehicle models: 83
Очень прошу помочь мне с подключением!
SERVER.CFG
PHP код:
plugins mysql.so streamer.so sscanf.so regex.so mysql_static.so mysql_5.5.so
Вот что вышло при добавление БД в Localhost ISP
Код HTML:
При cookie-аутентификации, в конфигурационном файле необходимо задать парольную фразу установив значение директивы $cfg['blowfish_secret'].
и где это конф файл я и не знаю подскажите