Reply To: Installing wordpress via XAMPP

#6858
Gowthami R
Keymaster

I will assume it as you misspelled Root – it is far more likely it is root.

You can use this script to test your db connection strings from your localhost:
https://gist.github.com/jpmattia/4035395

Also, check that you the root user has been GRANTed ALL privledges in your database:
https://gist.github.com/jpmattia/4035395

Also, you can manually edit and add the connection strings you have in your wp-config.php file.
https://gist.github.com/jpmattia/4035395

Lastly, check to see if you need a port number in your localhost to connect to the db.
https://www.wpbeginner.com/beginners-guide/how-to-edit-wp-config-php-file-in-wordpress/
i.e. define( ‘DB_HOST’, ‘localhost:5067’ );