diff --git a/README.md b/README.md index 4691ac73..dc093a67 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ etc. - `mysql.sh` - connects to [MySQL](https://www.mysql.com/) via `mysql`, auto-populating settings from environment variables like `MYSQL_HOST`, `MYSQL_USER` etc. - `mysql_foreach_table.sh` - executes a SQL query against every table, replacing `{db}` and `{table}` in each iteration eg. `select count(*) from {table}` - `mysql_*.sh` - various scripts using `mysql.sh` for row counts, iterating each table, or outputting clean lists of databases and tables for quick scripting -- `psql.sh` - connects to [PostreSQL](https://www.postgresql.org/) via `psql`, auto-populating settings from environment variables, using both standard postgres supported environment variables like `PG*` (see [doc](https://www.postgresql.org/docs/9.0/libpq-envars.html)) as well as other likely variables like `POSTGRES_HOST`, `POSTGRES_USER` etc. +- `psql.sh` - connects to [PostreSQL](https://www.postgresql.org/) via `psql`, auto-populating settings from environment variables, using both standard postgres supported environment variables like `PG*` (see [doc](https://www.postgresql.org/docs/9.0/libpq-envars.html)) as well as other likely variables like `POSTGRESQL_HOST` / `POSTGRES_HOST`, `POSTGRESQL_USER` / `POSTGRES_USER`, `POSTGRESQL_PASSWORD` / `POSTGRES_PASSWORD`, `POSTGRESQL_DATABASE` / `POSTGRES_DATABASE` and falling back to even more common ones for test environments where you may simplify everything to `$HOST`, `$USER`, `$PASSWORD`, `$DATABASE` - `postgres_foreach_table.sh` - executes a SQL query against every table, replacing `{db}`, `{schema}` and `{table}` in each iteration eg. `select count(*) from {table}` - `postgres_*.sh` - various scripts using `psql.sh` for row counts, iterating each table, or outputting clean lists of databases, schemas and tables for quick scripting - `kafka_*.sh` - scripts to make [Kafka](http://kafka.apache.org/) CLI usage easier including auto-setting Kerberos to source TGT from environment and auto-populating broker and zookeeper addresses. These are auto-added to the `$PATH` when `.bashrc` is sourced. For something similar for [Solr](https://lucene.apache.org/solr/), see `solr_cli.pl` in the [DevOps Perl Tools](https://github.com/harisekhon/devops-perl-tools) repo.