Hi all,
I’ve followed the instructions I found online:
* Exported the mysql db. Copied to stick.
* Copied the site folder from “www” folder. Also copied to stick.
* I then imported the db into phpmyadmin and pasted the site folder into “www” (on the new laptop).
The problem is when I try to open the localhost site address I get this reply:
​
>Cannot select database
>
>The database server could be connected to (which means your username and password is okay) but the sxxxxxxxa database could not be selected.
>
>
>
>Are you sure it exists?
>
>Does the user root have permission to use the sxxxxxxxa database?
>
>On some systems the name of your database is prefixed with your username, so it would be like username\_sxxxxxxxa. Could that be the problem?
>
>If you do not know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.
Yes, I’m sure it exists.
Yes, the user root has permission. All privileges are selected.
Any help would be much appreciated.
[ad_2]
You might need to update the wp_config file to reflect changes to access the new database