url is shorten
Closed this issue · 2 comments
jney commented
i can't connect probably because the url is shorten
$ pome xxxxxxxx:xxxxxxxxxxxxxxxx@ec2-xx-xxx-xxx-xxx.xx-xxxx-x.xxxxxxxx.xxxxxxx.com:5432/xxxxxxxx
2016/01/07 14:03:15 Starting Pome 0.1.1
2016/01/07 14:03:15 Application will be available at http://127.0.0.1:2345
2016/01/07 14:03:15 pq: database "pome xxxxxxxx:xxxxxxxxxxxxxxxx@ec2-xx-xxx-xxx-xxx.xx" does not exist
(anonymized console)
rach commented
Pome doesn support dsn RDBMS (or connection url) try
./pome --help
usage: pome [<flags>] <DBNAME>
A Postgres Metrics Dashboard.
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-h, --host=HOSTNAME database server host (default: localhost)
-P, --web-port=PORT web application port (default: 2345)
-p, --port=PORT database server port (default: 5432)
-s, --sslmode=SSLMODE database SSL mode (default: disable)
-v, --verbose
-W, --password
-U, --username=USERNAME (default: rach)
--version Show application version.
Args:
<DBNAME>
in your case it will be:
pome -h ec2-xx-xxx-xxx-xxx.xx-xxxx-x.xxxxxxxx.xxxxxxx.com -W -U xxuserxxx xxxdbnamexxx
Enter password : xxxxxxxxxxxxxxxx
Is it clearer?