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_';
1.4m articles
1.4m replys
5 comments
57.0k users