openshift-cartridge-nginx-php7 icon indicating copy to clipboard operation
openshift-cartridge-nginx-php7 copied to clipboard

$OPENSHIFT_MYSQL_DB_HOST and $OPENSHIFT_MYSQL_DB_PORT are empty, and it doesn't recognize the host which phpmyadmin uses

Open brunoczim opened this issue 8 years ago • 3 comments

brunoczim avatar Dec 02 '16 22:12 brunoczim

Hi. Sorry for the late reply. Have you installed the MySQL cartridge? It's the one that provides those environment variables.

pinodex avatar Dec 11 '16 05:12 pinodex

Yes, I have.

brunoczim avatar Dec 11 '16 18:12 brunoczim

How are you reading those environment variables? I was able to do that with getenv function.

pinodex avatar Dec 18 '16 15:12 pinodex