Creating testing local site from online production site
First, try to do the move the project to your server again but DO NOT go through the installation process. Simple add all the files to the proper directory then move in all the data. After that, just try going to the home page.

If that wasn't it I feel like you probably skipped giving 'admin'@'localhost' permission to access your db.

Try checking admin's priviledges in the MySQL console: 

mysql&gt; SHOW GRANTS FOR 'admin'@'localhost';


If admin doesn't have privileges, go into MySQL console and:


Create a user(if you don't have one made): mysql&gt;CREATE USER 'admin'@'localhost' IDENTIFIED BY 'apassword';
Now, give admin priviledges: mysql&gt;GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost'
Lastly, flush! mysql&gt;FLUSH PRIVILEGES;


Hope this fixes it!