Join Morten Rand-Hendriksen for an in-depth discussion in this video Connecting WordPress and the server manually, part of Installing and Running WordPress: Shared Hosting.
In most cases, WordPress is able to create a configuration file you, and you are…able to connect to the database, simply by…using the web tool that comes with WordPress.…But in some cases, when you create a new configuration file…you either get an error message saying error establishing a database connection.…In this case it means that your information is incorrect.…So either you database name, your username,…your password, or your database host information is incorrect.…In that case you need to check this information again with your…host to make sure it's correct and try to submit the form again.…
In some other cases, though, WordPress will tell…you that it can't create a new configuration file.…That might be because WordPress does not have access to that…functionality, or if your database host is preventing WordPress from doing so.…If that's…the case you will need to create that configuration file yourself.…It's actually very easy, so let me walk you through that process.…First, you need to make sure you have all your components.…
Need to run WordPress locally on your system for development or testing purposes? Check out the other courses in this series:
- Installing and Running WordPress: MAMP
- Installing and Running WordPress: WAMP
- Installing and Running WordPress: BitNami
- Installing and Running WordPress: WebMatrix