Hallo,
versuche nach dieser Anleitung WordPress lokal zu installieren. Bis "Step 7" gabs keine Fehlermeldung. Insbesondere funktioniert "Step 16" aus Teil 1 (Start Installing the LAMPP server). Problem:
Step 10
Finally launch the WordPress installation in the web browser by typing this URL:
Dann gibts folgende Fehlermeldung:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at DB_HOST. This could mean your host's database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
Punkt 1:
Are you sure you have the correct username and password?
username ist "root" und Psw das vom MySQL-Server.
Punkt 2:
Are you sure that you have typed the correct hostname?
Copy-paste. Was soll da schief gehen: http://localhost/wordpress/wp-admin/install.php
Punkt 3:
Are you sure that the database server is running?
Wie stellt man das fest? Mit dem Befehl aus Step 14?
Step 14
Restart Apache again:
/etc/init.d/apache2 restart
Hab die wp-config.php schon dreimal neu erstellt. Gibt leider immer die gleiche Fehlermeldung. Wenn ich das korrekt verstehe, dann soll die wp-config-sample.php unverändert bleiben!? wp-config.php und wp-config-sample.php liegen dann in einem Ordner...!?
Gruß, grillparzer
Moderiert von tomtomtom:
Ins passende Forum verschoben.