Please, help me with wp-config settings
-
I’m begginer and I have problem withwp-config.php settings.
I write this:
<?php
/** WordPress's config file **/
/** https://www.ads-software.com/ **/
// ** MySQL settings ** //
define('DB_NAME', 'blog_swoop_name'); // The name of the database
define('DB_USER', 'blog.swoop.name'); // Your MySQL username
define('DB_PASSWORD', '********'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', 'cs_CZ');
/* Stop editing */
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
define('ABSPATH', dirname(__FILE__).'/');
// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>
but browser wrote me:
Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
* Are you sure you have the correct user/password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
WHAT’S WRONG?
My blog adress is: https://www.swoop.name/blog/
Thank you for fast reply. I’m really hopeless.
- The topic ‘Please, help me with wp-config settings’ is closed to new replies.