Ich habe Grafana 4.4.3 auf einem Ubuntu 16.4 LTS, die auf einem VM installiert ist und seine IP ist 1.2.3.4. Ich habe auch eine MySQL-Datenbank-Version 5.0.95 auf einem CentOS 5.9 und seine IP ist 5.5.5.5 und Mydatabase Name ist: voipFehler beim Starten von Grafana-Service
Ich möchte mysql als Backend für Grafana setzen. I'v änderte meine grafana.ini-Datei wie folgt:
###[database]###
type = mysql
host = 5.5.5.5:3306
name = voip
user = root
password = [email protected]
###[session]###
provider: mysql
provider_config = `root:[email protected]@tcp(5.5.5.5:3306)/voip`
ich mein root-Konto auch als Remote-Konto verwendet werden eingestellt.
wenn ich grafana-Server-Dienst gestartet werden soll, gibt es mir diese Fehlermeldung:
Fail to initialize orm engine" logger=sqlstore error="Sqlstore::Migration
failed err: this user requires old password authentication. If you still
want to use it, please add 'allowOldPasswords=1' to your DSN. See also
https://github.com/go-sql-driver/mysql/wiki/old_passwords\n"
, was soll ich tun? Habe ich etwas falsch gemacht?
Die Fehlermeldung, die Sie tatsächlich sagt, was Sie tun müssen, ... Obwohl Sie Ihre mysql auf eine neuere Version aktualisieren möchten (es gibt keine solche MySQL-Version als 14.12, du hast das falsch verstanden) – Shadow
Es tut mir wirklich leid. Die Datenbankversion ist 5.0.95. und noch eine Sache .... allowOldpassword ist in meiner my.cnf Datei eingestellt. –