Hello i have an localhost wordpress project. The last thing i need to do is connect a database. Because i get an message in my browser that there is no Error establishing a database connection. Can anyone tell me step-by-step how to do this? This beneath is where the dev.js for asks. My project runs on Node.js
dev.js
$GLOBALS['DB_HOST'] = 'localhost'; $GLOBALS['DB_NAME'] = 'name'; $GLOBALS['DB_USER'] = 'username'; $GLOBALS['DB_PASSWORD'] = 'password'; $GLOBALS['DB_TABLE_PREFIX'] = 'prefix_';
2.1m questions
2.1m answers
60 comments
57.0k users