My problem is:
"
11/17/2016 - 10:01
5: [SM] [0] SetFailState
L 11/17/2016 - 10:01
5: [SM] [1] Line 41, include/shopsms/error.inc::ShopThrowError
L 11/17/2016 - 10:01
5: [SM] [2] Line 43, include/shopsms/db.inc::db_ConnectToDatabase
L 11/17/2016 - 10:01
5: [SM] [4] Database.Connect
L 11/17/2016 - 10:01
5: [SM] [5] Line 28, include/shopsms/db.inc::ConnectToDatabase
L 11/17/2016 - 10:01
5: [SM] [6] Line 12, include/shopsms/db.inc:
b_OnPluginStart
L 11/17/2016 - 10:01
5: [SM] [7] Line 140, /home/seek/coding/shop-sms/shop-sms-sm/scripting/shopsms.sp::OnPluginStart
L 11/17/2016 - 10:01
6: [multi1v1.smx] Could not connect: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
L 11/17/2016 - 10:01
7: [multi1v1.smx] Could not connect: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
L 11/17/2016 - 10:01:47: [multi1v1.smx] Could not connect: [2013]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
"
and my datebase.cfg is :
"
"Databases"
{
"driver_default" "mysql"
// When specifying "host", you may use an IP address, a hostname, or a socket file path
"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" "***"
//"timeout" "0"
//"port" "0"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" "***"
//"timeout" "0"
//"port" "0"
}
"multi1v1"
{
"driver" "mysql"
"host" "localhost"
"database" "game_servers_database"
"user" "root"
"pass" ""
"timeout" "10"
// "port" "3306"
}
"shopsms"
{
"driver""mysql"
"host""localhost"
"database""c0sklep"
"user""root"
"pass" ""
//"timeout""10"
//"port""3306"
}
}
"
Shopsms cant connect to database but not only shopsms Multi1vs1 cant connect too :c why ?
Debian 8