Hi @rohanahmad. Welcome to GoDaddy Community! For cPanel, you'll just use the IP address of your hosting plan. However, you'll want to go into the Remote MySQL area of your dashboard and clear any IPs that you'll be connecting from so you can gain access.
JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.