TerraTex MySql verbinden [Biete 3€ Nitrado Guthaben als Gegenleistung)

  • Guten Tag,
    ich wollte das TerraTex Script mal probieren ich habe bei 3 Datein auch die MySql Daten eingefügt nur wenn ich Connecte kommt das:

    Spoiler anzeigen

    [2016-01-01 10:17:04] ERROR: Unable to connect to mysql: (2002) Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    [2016-01-01 10:17:04] INFO: Couldn't run query: Unable to connect to the Log MySQL server![2016-01-01 10:17:04] INFO: Please shutdown the server and start the Log MySQL server![2016-01-01 10:17:04] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:04] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:04] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:04] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:04] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:04] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] INFO: 95 Cars loaded in Carhouse![2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] INFO: Started Biz Save[2016-01-01 10:17:05] INFO: Biz Saved[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] INFO: Baustelle 2 von 7 wurde geladen![2016-01-01 10:17:05] INFO: Baustelle 6 von 7 wurde geladen![2016-01-01 10:17:05] INFO: Baustelle 3 von 7 wurde geladen![2016-01-01 10:17:05] INFO: Baustelle 4 von 7 wurde geladen![2016-01-01 10:17:05] INFO: test[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] WARNING: Reallife/ENVIRO/fraktionen/taxi/taxi_command.lua:180: Bad argument @ 'getPlayersInTeam' [Expected team at argument 1, got nil][2016-01-01 10:17:05] ERROR: Reallife/ENVIRO/fraktionen/taxi/taxi_command.lua:180: bad argument #1 to 'ipairs' (table expected, got boolean)[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] ERROR: ENVIRO/jobs/waffendealer/waffendealer_server.lua:29: attempt to compare number with nil[2016-01-01 10:17:05] ERROR: ENVIRO/jobs/drogenhaendler/drogenjob_server.lua:46: attempt to compare number with nil[2016-01-01 10:17:05] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:17:05] Querying MTA master server... success! (Auto detected IP:37.10.118.71)[2016-01-01 10:17:05] Server started and is ready to accept connections![2016-01-01 10:17:05] To stop the server, type 'shutdown' or press Ctrl-C[2016-01-01 10:17:05] Type 'help' for a list of commands.[2016-01-01 10:17:25] ERROR: Reallife/SYSTEM/vehsys/tankstelle.lua:110: attempt to perform arithmetic on field 'tankpreis' (a nil value)[2016-01-01 10:18:30] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:18:30] ERROR: Reallife/ADMINSYSTEM/dev_server_connect_control.lua:15: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)[2016-01-01 10:18:30] CONNECT: Georg connected[2016-01-01 10:18:30] JOIN: Georg joined the game [2016-01-01 10:18:30] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:18:36] ERROR: Reallife/USER/userdata/player_connect.lua:149: bad argument #1 to 'mysql_escape_string' (mysqlHandler expected, got nil)[2016-01-01 10:18:37] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)[2016-01-01 10:18:37] ERROR: Reallife/ADDONS/werbung/d_uv_scripted.lua:35: attempt to concatenate field 'playerOfMonthPic' (a nil value) [2016-01-01 10:18:52] ERROR: Reallife/ENGINE/mysql/mysql_start.lua:164: bad argument #1 to '_mysql_query' (mysqlHandler expected, got nil)

    Config_mysql.lua :


    --MYSQL CONFIG:
    config["mysqlhost"]="localhost"
    config["mysqluser"]="ni250809_1_DB"
    config["mysqlpassword"]="TestTest"
    config["mysqldb"]="ni250809_1_DB"

    --IF You want to have a second unique log database set 'uniquelogdb' to true else let it be false
    --IF true setup the other entries
    config["uniquelogdb"]=false
    config["logmysqlhost"]="localhost"
    config["logmysqluser"]="logusername"
    config["logmysqlpassword"]="logpassword"
    config["logmysqldb"]="logdatabasename"

    Genau diese Daten habe ich alle in mysql_start.lua und in log_mysql_start.lua eingefügt.

    Ich benutze das Modul: mta_mysql.so

    PS: Danke im Vorraus.

    MfG

    Georg

    Externer Inhalt www.tsviewer.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
  • Dieses Thema enthält 7 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registrieren Sie sich oder melden Sie sich an um diese lesen zu können.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!