Wordpress: Error establishing a database connection

  • Guten Abend,
    ich habe gerade versucht eine Wordpress-installation aufzusetzen. Also eine Datenbank im Confixx angelegt. Per phpMyAdmin kann ich darauf zugreifen.
    Dann die Wordpress-Dateien (v 3.5.1) heruntergeladen und auf den Server per FTP unter html/blog kopiert, wp-config.php angelegt und ausgefüllt (Host auf localhost gelassen).
    Dann im Browser die wp-admin/installation.php aufgerufen und bekomme die Fehlermeldung: "Error establishing a database connection".
    Wenn ich WP_DEBUG auf true setze, wirft mir eben aufgenannte Seite folgenden Fehler:


    Zitat

    Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in /var/www/webxxx/html/blog/wp-includes/wp-db.php on line 1141


    Wie bekomm ich das ganze zum Laufen? User, Datenbank und Passwort hab ich mehrmals überprüft. mod_rewrite ist aktiviert. Und PHP-Version 5.4...

  • Hab die Lösung gleich selber gefunden.
    Ein einfaches SQL-Passwort neu setzen in Confixx hatte ebenso wenige Auswirkungen, wie in phpMyAdmin.
    Lösung war in phpMyAdmin war folgende eingabe als SQL-Query:

    Zitat

    SET SESSION old_passwords = FALSE;
    SET PASSWORD = PASSWORD('my_old_password');