MySQL Unable to connect to Any of the specified MySQL hosts

  • Moin zusammen,


    ich hoffe ich bin hier richtig gelandet.


    Ich habe mir das Starter Pack V1 von Daryl Dixon runter geladen und installiert, da ich und 2-3 Kollegen einfach ein wenig unsinn in GTA anstellen wollen.

    Der Server läuft auch soweit, man kann connecten etc., allerdings kann sich FiveM nicht auf meinem Lamp Stack (Ubuntu 18.04) mit der MariaDB connecten.


    Kann mir evtl. jemand behilflich sein? :D


    Danke schonmal im vorraus.


    Edit: PHPmyAdmin ist ebenfalls auf dem Lamp Stack installiert.


    Nochmal edit...: Hier noch der Auszug mit den Fehlern:

    EasyAdmin: webadmin-lua is not installed on this Server, webadmin features unavailable
    Authenticating with Nucleus...
    server thread hitch warning: timer interval of 3098 milliseconds
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM datastore {=}": Unable to connect to any
    of the specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM properties {=}": Unable to connect to any
    of the specified MySQL hosts.
    SCRIPT ERROR: @esx_datastore/server/main.lua:9: attempt to get length of a nil value (local 'result')
    > fn (@mysql-async/lib/init.lua:7)
    [ERROR] [MySQL] An error happens on MySQL for query "UPDATE owned_vehicles SET `stored` = true WHERE `stored
    ` = false AND type = @type {@type=boat}": Unable to connect to any of the specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM addon_account {=}": Unable to connect to
    any of the specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM items {=}": Unable to connect to any of t
    he specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM jobs {=}": Unable to connect to any of th
    e specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM items {=}": Unable to connect to any of t
    he specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM vehicle_categories {=}": Unable to connec
    t to any of the specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM vehicles {=}": Unable to connect to any o
    f the specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM jobs {=}": Unable to connect to any of th
    e specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM shops LEFT JOIN items ON items.name = sho
    ps.item {=}": Unable to connect to any of the specified MySQL hosts.
    [ERROR] [MySQL] An error happens on MySQL for query "SELECT * FROM weashops {=}": Unable to connect to any o
    f the specified MySQL hosts.
    server thread hitch warning: timer interval of 464 milliseconds

    • Offizieller Beitrag
    Code
    Unable to connect to any o
    f the specified MySQL hosts.  = Verbindung kann nicht hergestellt werden
    einer der angegebenen MySQL-Hosts.

    ;) würde mal deine MYSQL Einstellungen/Eingaben überprüfen...

    und 464 milliseconds ist mächtig hoch!

    sports-team-logo-maker-with-an-industrial-worker-graphic-4060h-26-min-1-1.png
    🐌MateTV Link Space🐌
    WER GTAV mit deutschen Uniformen und deutschen Frak Autos spielt, hat für mich einen an der Waffel!
    img.php?type=sig&design=normal&player_id=2064144&locale=de_DE

  • ;) würde mal deine MYSQL Einstellungen/Eingaben überprüfen...


    Habs gerade nochmal gecheckt, ist tatsächlich ein Problem meiner Datenbank, muss ich mal schauen was ich da vermurkst habe.



    Anfangs sind es meistens so zwischen 3000 und 5000 ;) ist aber nur kurz für 20-30 Sekunden am Anfang.


    Danke übrigens für das Server Pack, find ich sehr geil!

  • Code
    Unable to connect to any o
    f the specified MySQL hosts.  = Verbindung kann nicht hergestellt werden
    einer der angegebenen MySQL-Hosts.

    ;) würde mal deine MYSQL Einstellungen/Eingaben überprüfen...

    und 464 milliseconds ist mächtig hoch!

    Gott wie peinlich....habe vergessen die bind_adress in der DB zu ändern. GRRRRR!


    Läuft jetzt, danke!

  • Könnte Jemand mir sagen wie man das ändert, dieses "bind_adress"

    Weil bei mir steht bei /etc/my.cnf oder /etc/mysql/my.cnf nichts von "bind_adress"