this is my first time dealing with website and database I actually found out about migration while googling how-to. It's a graduation project and the website was made by someone whos not available right now and we rushing to add some requested stuff to the website.
this is how the website looks like
when I try to log in i see this error SQLSTATE[HY000] [1049] Unknown database 'dbscs' (SQL: select * from
userswhere
email = root limit 1)
all I did is unzip the website WinRAR in www
folder in wamp. I did not run any kind of migration
the website navigates to log in and Register but when registering or login in this error shows up. I think I'm missing the migrating I don't know. please help
Brief explanation:
This will import a copy of the live database into your local dev environment into a database you created. If you named it 'dbscs' then your error of "Unknown database" should resolve. However you may need to update the connection string in local application files to point to the database you created so that your local environment can pull in the data. I had to do this for a WordPress website that I wanted to develop locally.