An Example of MySQL Settings in wp-config.php file – WordPress

Posted by

Hello All,Below mentioned is an example of MySQL settings for wp-config file of wordpress:

// ** MySQL settings ** //
define(‘DB_NAME’, ‘database name’); // The name of the database
define(‘DB_USER’, ‘database user’); // Your MySQL username
define(‘DB_PASSWORD’, ‘database user password’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
// Change SECRET_KEY to a unique phrase. One won’t have to remember it later,
// So make it long and complicated.
define(‘SECRET_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.


Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.