This is expected if you're testing locally — the database only accepts connections from inside the server. Once deployed on cPanel with the environment variables set, this should clear.
(1045, "Access denied for user 'idealbi_devuser'@'localhost' (using password: YES)")