Installing wordpress via XAMPP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6826
    Andrea Ross
    Participant

    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

    #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’ );

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.