Ad Widget

Collapse

Installation in google cloud can't connect to Cloud SQL database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #1

    Installation in google cloud can't connect to Cloud SQL database

    I'm a long time Zabbix admin but new to Google cloud. I've loaded the database (and partitioned it) to Cloud SQL (mysql). I created compute VM's for the server and frontend but neither can connect to the database. The mysql command line client CAN connect from both these VM's using the zabbix DB account, so it shouldn't be firewall or mysql permission issues.

    Any ideas?

    Thanks

    Update: tcpdump seems to show neither server or frontend are even trying to send packets to the target mysql server.
    Last edited by LenR; 12-08-2020, 17:25.
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    selinux.... I forgot to embrace the suck and disable it....

    Comment

    Working...