Moving Wordpress site from local PC to local Mac

Posted: asked May 19 at 8:10 - Source : stackoverflow

I'm trying to move my site from my house to my workplace and it's proving imposible. I tried with Duplicator, and supposedly you only need to create a new database, go to your localhost and execute the installer but I keep getting an HTPP error 500, I've tried with multiple all green packages. Then I tried exporting my database as well and nothing works and I get "error establishing database connection", what could be the problem here or how can I achieve this simple task?