Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.
You haven't really provided us with any meaningful information about your environment.
Environment details? (webserver software? php version? etc.)
What I notice from the description you gave of steps taken is that you didn't mention creating the DB user, and granting it access to your new (restored) database on the new server.