• RaymondDay

    (@raymondday)


    I restored a old wordpress database from a .sql file.

    But I can’t get it to connect. I go to set up and type in the right database name and password. But it comes back with “Canot select Database” It even says my “username and password is okay”

    Maybe I need to update the database but how do I do that? I know that database name is too. I can log in to it with phpmyadmin.

    -Raymond Day

    Got it working. I just edit the wp-config.php it had the wrong info in it. I thought it was right but looked at it again and did not save.

    It was just blank then I had to add the theme it showed in the phpmyadmin template.

    -Raymond Day

    • This topic was modified 1 year ago by RaymondDay.
Viewing 1 replies (of 1 total)
  • threadi

    (@threadi)

    Have you also set the prefix in the wp-config.php next to the database access data? You can recognise the prefix when accessing via phpmyadmin by the way the table names begin. The default here is wp_, but it can also be anything else. In wp-config.php this must be set in $table_prefix.

Viewing 1 replies (of 1 total)
  • The topic ‘connect to old database’ is closed to new replies.