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 trialMartina Carrington
15,754 Pointsweird 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
Sara Greer
16,032 PointsAre 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
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
Zac Gordon
Treehouse Guest TeacherHi martina carrington did you get this problem figured out?
Martina Carrington
15,754 PointsHi Zac Gordon , i rewatch the video and i follow the steps . I received this message Error establishing a database connection on wordpress
Jeff Kinley
21,207 PointsJeff Kinley
21,207 PointsThere could be a number of things going on here. Could you provide us with a bit more info?