Support » Installing WordPress » Can’t select database

  • Today, I am installing fresh wordpress after downloading from wordpress.org. I created database. When I tried to install, it gives me error – Can’t select database (https://prnt.sc/t1uusj).

    Please let me know, how I can install it on localhost.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Nirmal,

    Please check the wp-config.php file on your WordPress folder to see if the database name you created matches the one there.

    Best,

    Hello Nirmal !
    If you install with wordpress setup automatically and you use xampp , pay attention to the DB name,DB username (default is ‘root’) and password that you have set for your database.

    Sundar

    (@phptechie)

    Nirmal ,

    Check to make sure you have used the correct db name / username / password in the installation step , so that the script will be able to connect to the database & thats it.

    If after installing you encounter this issue , make sure the db name / user name / password are correctly configured in wp-config

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