Seems the database is not enable for remote connections.
https://my.godaddy.com/help/connect-to-databases-remotely-in-cpanel-shared-hosting-16103
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.