Reply To: Installing wordpress via XAMPP

Gowthami R

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:

Also, check that you the root user has been GRANTed ALL privledges in your database:

Also, you can manually edit and add the connection strings you have in your wp-config.php file.

Lastly, check to see if you need a port number in your localhost to connect to the db.
i.e. define( ‘DB_HOST’, ‘localhost:5067’ );