Skip to main content
Best answer

Getting an error when triggering MySQL database to Hostgator

  • November 5, 2022
  • 5 replies
  • 185 views

frankie210
Forum|alt.badge.img

Trying to connect a MySQL database in Hostgator but keep getting an error. Not sure if I am entering correct info under host, port, database name and database username. Any advice/tips?

Best answer by frankie210

I figured it out. I needed to add Zapier IP address to authorized IP addresses under Remote MySQL within CPanel for the Zap to work. Thank you for your assistance folks. I appreciate it.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • November 6, 2022

Hi @frankie210 

Good question.

Please clarify which Zap step is encountering the error.

Best to provide screenshots for context.


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • November 8, 2022

Hi @frankie210

Are you able to share a little more information to help us see what might be happening in your Zap? For example, what information are you putting for host, port, database, etc. Obviously please don’t share any sensitive information, but you could tell us things like ‘I’m using the database username that I can see in the app’ or something like that. It would also be really helpful if you could let us know specifically what the error message says. 

I also recommend running through the help guide Can’t Connect to My Database as it has a lot of information on how to troubleshoot MySQL connections in Zapier. 

Thanks!


frankie210
Forum|alt.badge.img
  • Author
  • Beginner
  • November 9, 2022

Trying to figure what exactly to input here: https://prnt.sc/XCSnWrXgijOt

Getting this error: https://prnt.sc/i22a6mX0-1Bf

After inputting an IP address that Hostgator support gave me for HOST

Using 3306 for PORT

And using the info I assigned for the database name and database username and password for DATABASE and USERNAME and PASSWORD


frankie210
Forum|alt.badge.img
  • Author
  • Beginner
  • Answer
  • November 9, 2022

I figured it out. I needed to add Zapier IP address to authorized IP addresses under Remote MySQL within CPanel for the Zap to work. Thank you for your assistance folks. I appreciate it.


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • November 11, 2022

Yay! 🎉 I’m stoked you were able to sort this out.

Thanks for coming back to update the thread! We love to see it. 🤗