• I am using wampserver on my laptop, which is using localhost. I have created a database and am trying to install wordpress.
    the front page has accepted my username and password for phpmyadmin, so that’s ok, but cannot locate the database (which is definitely there). To access and run WordPress I have to use https://localhost:8000/wordpress. To access phpmyadmin I log onto https://localhost:8000
    I’m getting this message
    “We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress database.
    Are you sure it exists?
    Does the user root have permission to use the wordpress database?
    On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Wrong port number. Just try setting that database address to localhost as WordPress knows the port number to use all ready for that.

    Localhost on your network for a web server is usually port 80 or 8080 but if 8000 works then that’s okay, too.

    But 8000 is wrong for the database so that is ‘that problem’.

    Thread Starter granbee

    (@granbee)

    I didn’t use “localhost:8000” as I found out that was wrong, but I did use “localhost”
    It says the database does not exist, so I created another new database and followed the procedure again and got the same message.
    I have to say that I have just installed a drupal site going through the same procedure (different database of course) and that worked like a dream.

    Thread Starter granbee

    (@granbee)

    I found the problem, which was a password problem for an sql database. Drupal uses both MariaDB as well as SQL and so got through.
    I have now to admit I don’t like WordPress, so I’ve deleted it and will go with Drupal

    It might be because of Wrong port number.

    FahimMurshed

    (@fahimmurshed)

    Hi,

    I suggest you to install Laragon

    You didn’t face any issue with WordPress installing also it has 1 click WordPress installer.

    Thanks so much.

    juleopskrift

    (@juleopskrift)

    Hello,

    I suggest find out if you have browser updates and computer updates make you have the right port number

    Best regards,
    jule from julemiddag

    • This reply was modified 5 years ago by juleopskrift. Reason: typo error
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem installing on laptop’ is closed to new replies.