Permission denied on migration

First off i tried migrating from the same CPU arch to the same but ran into an issue. After following the guide and running validate.php which passed everything i could not login. I was getting a permission denied error and then this in my logs

production.ERROR: SQLSTATE[HY000] [2002] Permission denied (SQL: select user_id from users where (auth_type = mysql or auth_type is null or auth_type = )

I then tried a fresh install following the CentOS guide again with Nginx but still with a fresh install i get the same error.