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 From Bootstrap to WordPress Setup a Bootstrap Theme Setup Your WordPress Development Environment

Martina Carrington
Martina Carrington
15,754 Points

weird i can't find my database for bootstaps -to-wp

i created bootstrap-to-wp database in mysql and when i went to my localhost everything was find until wordpress said my can't be located database

Jeff Kinley
Jeff Kinley
21,207 Points

There could be a number of things going on here. Could you provide us with a bit more info?

Sara Greer
Sara Greer
16,032 Points

Are you pointing to the database in your wp-config file? Specifically, these lines:

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

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

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

/** MySQL hostname */
define('DB_HOST', 'localhost');
Martina Carrington
Martina Carrington
15,754 Points

@Sara Greer i look over the steps and i copy and paste the folder inside the htdocs. i received this message from wordpress Error establishing a database connection

1 Answer

Martina Carrington
Martina Carrington
15,754 Points

Hi Zac Gordon , i rewatch the video and i follow the steps . I received this message Error establishing a database connection on wordpress