Created
January 20, 2016 22:57
-
-
Save michaelshobbs/22502801b504fcafaa2e to your computer and use it in GitHub Desktop.
dokku-mysql test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dokku:~/dokku# dokku config node-js-app | |
=====> node-js-app config vars | |
DATABASE_URL: mysql://mysql:ba1c37be637af4e0@dokku-mysql-lolipop:3306/lolipop | |
DOKKU_APP_RESTORE: 1 | |
DOKKU_NGINX_PORT: 80 | |
root@dokku:~/dokku# dokku enter node-js-app web | |
u2074@ba9a4cb55e26:~$ env | grep -i mysql | |
DOKKU_MYSQL_LOLIPOP_PORT_3306_TCP_ADDR=172.17.0.3 | |
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_USER=mysql | |
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_PASSWORD=ba1c37be637af4e0 | |
DOKKU_MYSQL_LOLIPOP_PORT=tcp://172.17.0.3:3306 | |
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_VERSION=5.7.10-1debian8 | |
DOKKU_MYSQL_LOLIPOP_PORT_3306_TCP_PROTO=tcp | |
DOKKU_MYSQL_LOLIPOP_PORT_3306_TCP_PORT=3306 | |
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_ROOT_PASSWORD=6b0e39cf218de92d | |
DOKKU_MYSQL_LOLIPOP_NAME=/drunk_payne/dokku-mysql-lolipop | |
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_DATABASE=lolipop | |
DOKKU_MYSQL_LOLIPOP_PORT_3306_TCP=tcp://172.17.0.3:3306 | |
DOKKU_MYSQL_LOLIPOP_ENV_MYSQL_MAJOR=5.7 | |
DATABASE_URL=mysql://mysql:ba1c37be637af4e0@dokku-mysql-lolipop:3306/lolipop | |
u2074@ba9a4cb55e26:~$ telnet dokku-mysql-lolipop 3306 | |
Trying 172.17.0.3... | |
Connected to dokku-mysql-lolipop. | |
Escape character is '^]'. | |
J | |
5.7.10EE,3E9SB. T | |
,K-mysql_native_password | |
!#08S01Got packets out of orderConnection closed by foreign host. | |
u2074@ba9a4cb55e26:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment