this is my code on the first part
<?php
// ** MySQL settings ** //
define('DB_NAME', 'blog'); // The name of the database
define('DB_USER', 'xxxxxxxx’); // Your MySQL username
define('DB_PASSWORD', 'xxxxxxx'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value