I was working on a laravel project, at some moment I had a problem and couldn't seem to fix it. I though it could be because of the used versions of PHP, MySQL and MAMP. So I reinstalled MAMP and made a backup of my old database files. After putting them back in the new version of MAMP nothing seems to really work. For example there is a Wordpress site that's full of Database errors like this one : Wordpress database error
And when I try to register on my Laravel project it gives this error :
"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'todoapp1.users' doesn't exist (SQL: select count(*) as aggregate from users
where email
= test@gmail.com)"
Both of the databases are visible on the PHPMyAdmin page on localhost.
Hopefully somebody can help me with this, mostly with the wordpress site since that one was a lot of work. But both of these errors are probably because of the same problem.
All help is very much appreciated !