I kept on getting “Error establishing database connection”, because i always made two mistakes, which none of the other tutorials addressed.
Two important cautions:
- Grant all privileges for the user for that database
- Don’t forget to set the host to Localhost.
Although there are plenty of videos for the same thing, i made this video for myself and if any others who gets benefited with it.
- Install WordPress Locally Using XAMPP (ddmboss.wordpress.com)
- How To Set Up Virtual Hosts Using XAMPP (ddmboss.wordpress.com)
- Importing large database using command propmt (sandeepshirsat.wordpress.com)
- How to install wordpress in windows system? (freelancermaster.wordpress.com)
- Installing Drupal (packtpub.com)
- How to download XAMPP Server? (dilzblog.wordpress.com)