Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Migrating WordPress from Local to Live Server

mikkel pohjola
mikkel pohjola
1,966 Points

Migrating WordPress from Local to Live Server dont work!

i have done what i should do from the video but i keep getting an database error

Error establishing a database connection

my site is here http://mikkel-pohjola.dk/

wp_config.php // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'mikkel_pohjola_dk_db');

/** MySQL database username */ define('DB_USER', 'admin');

/** MySQL database password / define('DB_PASSWORD', '**********');

/** MySQL hostname */ define('DB_HOST', 'mysql33.unoeuro.com');

/** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8mb4');

/** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', '');

define('WP_HOME', 'mikkel-pohjola.dk');

define('WP_SITEURL', 'mikkel-pohjola.dk');

What do i do wrong ??