- This topic has 1 reply, 2 voices, and was last updated 3 months, 2 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Tagged: Install, myphpadmin, XAMPP
Hi
I installed XAMPP, configured myphpadmin and then created my database. When i tried to install WordPress on local drive i got a message stating that my database name or host name is incorrect. So that am not able to install WordPress
Using database that I created in Myphpadmin.
Host: Root
No password
When I press enter i received message regarding user host name and password
How can I sort out this issue? Please help me out
Thankyou
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’ );
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |