wp-config.php – Wo ist DB_PASSWORD usw.?

[ad_1]

Hallo,

Leider sind in allen Fällen in der Datei keine DB-Informationen hinterlegt

Das würde mich wundern.

Die Datenbank wird über den Kundenaccount beim Hoster angelegt. In dem Fall erhält man auch die entsprechenden Zugangsdaten für die Datenbank, die in die wp-config.php eingetragen werden. Hier ein Ausschnitt dazu aus der aktuellen wp-config-sample.php, die im Paket enthalten ist:

// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );

/** Database username */
define( 'DB_USER', 'username_here' );

/** Database password */
define( 'DB_PASSWORD', 'password_here' );

/** Database hostname */
define( 'DB_HOST', 'localhost' );

Viele Grüße
Hans-Gerd

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer