diff --git a/content/_index.html b/content/_index.html index 0ec0af1c..003b6199 100644 --- a/content/_index.html +++ b/content/_index.html @@ -162,7 +162,7 @@

REFERENCE

-
5 articles
+
6 articles
CLIs
diff --git a/content/latest/_index.html b/content/latest/_index.html index 266f5cde..22b92e8b 100644 --- a/content/latest/_index.html +++ b/content/latest/_index.html @@ -8,26 +8,26 @@ ---
@@ -137,27 +137,27 @@
- +
- -
8 chapters
-
Comparisons
+ +
2 chapters
+
API Reference
- Comparisons with common operational databases. + Reference for the YSQL and YCQL APIs.
- +
- -
2 chapters
-
API Reference
+ +
6 chapters
+
CLI Reference
- Reference for the YSQL and YCQL APIs. + Admin commands and utilities reference.
@@ -166,11 +166,38 @@
-
5 chapters
-
Admin Reference
+
1 chapters
+
Tools Reference
- Admin commands and utilities reference. + Reference for 3rd party tools such as TablePlus. +
+
+
+ + +
+ +
+ +
Release History
+
+
+ History of important YugaByte DB releases. +
+
+
+ + +
+ +
+ +
8 chapters
+
Comparisons
+
+
+ Comparisons with common operational databases.
diff --git a/content/latest/admin/_index.html b/content/latest/admin/_index.html index 451fd80a..11579c45 100644 --- a/content/latest/admin/_index.html +++ b/content/latest/admin/_index.html @@ -77,6 +77,18 @@ +
+ +
+ +
ysqlsh
+
+
+ Command line shell for connecting to YugaByte DB with YSQL. +
+
+
+
diff --git a/content/latest/admin/cqlsh.md b/content/latest/admin/cqlsh.md index 3edb38b7..c1e7068c 100644 --- a/content/latest/admin/cqlsh.md +++ b/content/latest/admin/cqlsh.md @@ -16,7 +16,7 @@ showAsideToc: true ## Overview -`cqlsh` is a command-line shell for interacting with YugaByte DB through [YCQL](../../api/ycql/). +`cqlsh` is a command line shell for interacting with YugaByte DB through [YCQL](../../api/ycql/). ## Download @@ -36,7 +36,7 @@ $ ./bin/cqlsh --execute "select cluster_name, data_center, rack from system.loca ## Command Line Options -Use the **-\-help** option to see all the command-line options supported. +Use the **-\-help** option to see all the command line options supported. ``` cqlsh [options] [host [port]] diff --git a/content/latest/admin/ysqlsh.md b/content/latest/admin/ysqlsh.md new file mode 100644 index 00000000..4ad26772 --- /dev/null +++ b/content/latest/admin/ysqlsh.md @@ -0,0 +1,46 @@ +--- +title: ysqlsh +linkTitle: ysqlsh +description: ysqlsh +aliases: + - /develop/tools/ysqlsh/ + - /latest/develop/tools/ysqlsh/ +menu: + latest: + identifier: ysqlsh + parent: admin + weight: 2459 +isTocNested: true +showAsideToc: true +--- + +## Overview + +`ysqlsh` is a command line shell for interacting with YugaByte DB through [YSQL](../../api/ysql/). It is derived from [`psql`](https://www.postgresql.org/docs/11/app-psql.html), the PostgreSQL shell. + +## Download + +ysqlsh is installed as part of YugaByte DB and is located in the bin directory of YugaByte home. + +## Example + +```sh +$ ./bin/ysqlsh --echo-queries +``` + +``` +ysqlsh (11.2) +Type "help" for help. + +postgres=# +``` + +## Defaults + +ysqlsh defaults the following flags so that the user does not have to specify them. + +``` +-h 127.0.0.1 +-p 5433 +-U postgres +``` diff --git a/content/latest/api/ysql/commands/txn_abort.md b/content/latest/api/ysql/commands/txn_abort.md index 192fb1e4..720ba3f9 100644 --- a/content/latest/api/ysql/commands/txn_abort.md +++ b/content/latest/api/ysql/commands/txn_abort.md @@ -51,7 +51,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/api/ysql/commands/txn_begin.md b/content/latest/api/ysql/commands/txn_begin.md index 98d39d97..49d3e062 100644 --- a/content/latest/api/ysql/commands/txn_begin.md +++ b/content/latest/api/ysql/commands/txn_begin.md @@ -50,7 +50,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/api/ysql/commands/txn_commit.md b/content/latest/api/ysql/commands/txn_commit.md index 1dbc0cca..517e28cc 100644 --- a/content/latest/api/ysql/commands/txn_commit.md +++ b/content/latest/api/ysql/commands/txn_commit.md @@ -52,7 +52,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/api/ysql/commands/txn_end.md b/content/latest/api/ysql/commands/txn_end.md index 2afa6835..5ee6bc8c 100644 --- a/content/latest/api/ysql/commands/txn_end.md +++ b/content/latest/api/ysql/commands/txn_end.md @@ -50,7 +50,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/api/ysql/commands/txn_rollback.md b/content/latest/api/ysql/commands/txn_rollback.md index 998982a0..f09d4c58 100644 --- a/content/latest/api/ysql/commands/txn_rollback.md +++ b/content/latest/api/ysql/commands/txn_rollback.md @@ -52,7 +52,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/api/ysql/commands/txn_set.md b/content/latest/api/ysql/commands/txn_set.md index b28da104..8a84865d 100644 --- a/content/latest/api/ysql/commands/txn_set.md +++ b/content/latest/api/ysql/commands/txn_set.md @@ -36,7 +36,7 @@ set ::= SET TRANSACTION { ISOLATION LEVEL { READ UNCOMMITTED ## Semantics - The `SERIALIZABLE` isolation level not yet supported. (This is currently in progress). -- Currently YugaByte will always use the snapshot isolation level internally. See more [here](../../../architecture/transactions/isolation-levels/). +- Currently YugaByte DB will always use the snapshot isolation level internally. See more [here](../../../architecture/transactions/isolation-levels/). ## Examples @@ -57,7 +57,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/api/ysql/commands/txn_show.md b/content/latest/api/ysql/commands/txn_show.md index f9fe8e43..c78d8f57 100644 --- a/content/latest/api/ysql/commands/txn_show.md +++ b/content/latest/api/ysql/commands/txn_show.md @@ -52,7 +52,7 @@ postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; postgres=# INSERT INTO sample(k1, k2, v1, v2) VALUES (1, 2.0, 3, 'a'), (1, 3.0, 4, 'b'); ``` -Start a new shell with `psql` and begin another transaction to insert some more rows. +Start a new shell with `ysqlsh` and begin another transaction to insert some more rows. ```sql postgres=# BEGIN TRANSACTION; SET TRANSACTION ISOLATION LEVEL REPEATABLE READ; diff --git a/content/latest/deploy/docker/docker-swarm.md b/content/latest/deploy/docker/docker-swarm.md index 699ed851..614802a9 100644 --- a/content/latest/deploy/docker/docker-swarm.md +++ b/content/latest/deploy/docker/docker-swarm.md @@ -300,20 +300,18 @@ I0515 19:54:48.953572 39 yb-admin_client.cc:440] Table 'system_redis.redis' c $ docker exec -it yum install postgresql ``` -- Connect to the psql client in yb-tserver. +- Connect to the ysqlsh client in yb-tserver. ```sh -$ docker exec -it psql -h localhost --port 5433 +$ docker exec -it ysqlsh ``` ``` ... -psql (9.2.23, server 0.0.0) -WARNING: psql version 9.2, server version 0.0. - Some psql features might not work. +ysqlsh (11.2) Type "help" for help. -root=> +postgres=# ``` - Follow the test instructions as noted in [Quick Start](../quick-start/test-postgresql/). diff --git a/content/latest/deploy/kubernetes/helm-chart.md b/content/latest/deploy/kubernetes/helm-chart.md index fbd0fb93..95a24634 100644 --- a/content/latest/deploy/kubernetes/helm-chart.md +++ b/content/latest/deploy/kubernetes/helm-chart.md @@ -111,10 +111,10 @@ Initialize the YSQL API (after ensuring that cluster is running - see "Check Clu $ kubectl exec -it -n yb-demo yb-tserver-0 bash -- -c "YB_ENABLED_IN_POSTGRES=1 FLAGS_pggate_master_addresses=yb-master-0.yb-masters.yb-demo.svc.cluster.local:7100,yb-master-1.yb-masters.yb-demo.svc.cluster.local:7100,yb-master-2.yb-masters.yb-demo.svc.cluster.local:7100 /home/yugabyte/postgres/bin/initdb -D /tmp/yb_pg_initdb_tmp_data_dir -U postgres" ``` -Connect using psql client as shown below. +Connect using ysqlsh client as shown below. ```sh -$ kubectl exec -n yb-demo -it yb-tserver-0 /home/yugabyte/bin/psql -- -U postgres -d postgres -h yb-tserver-0.yb-tservers.yb-demo -p 5433 +$ kubectl exec -n yb-demo -it yb-tserver-0 /home/yugabyte/bin/ysqlsh -- -h yb-tserver-0.yb-tservers.yb-demo ``` ## Check Cluster Status diff --git a/content/latest/deploy/public-clouds/gcp/gke.md b/content/latest/deploy/public-clouds/gcp/gke.md index 59a6d5a0..d86e1141 100644 --- a/content/latest/deploy/public-clouds/gcp/gke.md +++ b/content/latest/deploy/public-clouds/gcp/gke.md @@ -6,7 +6,7 @@ - Install `kubectl` -After installing Cloud SDK, install the kubectl command-line tool by running the following command: +After installing Cloud SDK, install the kubectl command line tool by running the following command: ```sh $ gcloud components install kubectl diff --git a/content/latest/develop/build-apps/java/ycql.md b/content/latest/develop/build-apps/java/ycql.md index d391e18b..c7ee5275 100644 --- a/content/latest/develop/build-apps/java/ycql.md +++ b/content/latest/develop/build-apps/java/ycql.md @@ -2,10 +2,6 @@ title: Build a Java App linkTitle: Build a Java App description: Build a Java App -aliases: - - /develop/client-drivers/java/ - - /latest/develop/client-drivers/java/ - - /latest/develop/build-apps/java/ menu: latest: parent: build-apps diff --git a/content/latest/develop/build-apps/java/ysql-spring-data.md b/content/latest/develop/build-apps/java/ysql-spring-data.md index 059b9103..5064aee0 100644 --- a/content/latest/develop/build-apps/java/ysql-spring-data.md +++ b/content/latest/develop/build-apps/java/ysql-spring-data.md @@ -2,10 +2,6 @@ title: Build a Java App linkTitle: Build a Java App description: Build a Java App -aliases: - - /develop/client-drivers/java/ - - /latest/develop/client-drivers/java/ - - /latest/develop/build-apps/java/ menu: latest: parent: build-apps diff --git a/content/latest/develop/ecosystem-integrations/apache-kafka.md b/content/latest/develop/ecosystem-integrations/apache-kafka.md index 201adf0b..4b193b3c 100644 --- a/content/latest/develop/ecosystem-integrations/apache-kafka.md +++ b/content/latest/develop/ecosystem-integrations/apache-kafka.md @@ -13,7 +13,7 @@ isTocNested: true showAsideToc: true --- -In this tutorial, we are going to use the [Kafka Connect-based Sink Connector for YugaByte DB](https://github.com/YugaByte/yb-kafka-connector) to store events from Apache Kafka into YugaByte DB using YugaByte DB's Cassandra-compatible [YCQL](../../../api/ycql) API. +In this tutorial, we are going to use the [Kafka Connect-based Sink Connector for YugaByte DB](https://github.com/YugaByte/yb-kafka-connector) to store events from Apache Kafka into YugaByte DB using YugaByte DB's [YCQL](../../../api/ycql) API. ## 1. Start Local Cluster @@ -69,7 +69,7 @@ The connector jar `yb-kafka-connnector-1.0.0.jar` is now placed in the `./target $ cp ./target/yb-kafka-connnector-1.0.0.jar ~/yb-kafka/kafka_2.11-2.0.0/libs/ ``` -Go to the Kafka libs directory and get the additional jars that the connector depends on (including the driver for the Cassandra-compatible YCQL API) +Go to the Kafka libs directory and get the additional jars that the connector depends on (including the driver for the YCQL API) ```sh $ cd ~/yb-kafka/kafka_2.11-2.0.0/libs/ diff --git a/content/latest/develop/ecosystem-integrations/metabase.md b/content/latest/develop/ecosystem-integrations/metabase.md index d9875189..1171fdc6 100644 --- a/content/latest/develop/ecosystem-integrations/metabase.md +++ b/content/latest/develop/ecosystem-integrations/metabase.md @@ -45,16 +45,16 @@ $ ls data/ orders.sql products.sql reviews.sql users.sql ``` -### Connect to YugaByte DB using psql +### Connect to YugaByte DB using ysqlsh You can do this as shown below. ```sh -$ ./bin/psql -p 5433 -U postgres +$ ./bin/ysqlsh ``` ``` -psql (10.3, server 10.4) +ysqlsh (11.2) Type "help" for help. postgres=# @@ -112,7 +112,7 @@ $ wget http://downloads.metabase.com/v0.30.4/metabase.jar $ java -jar metabase.jar ``` -Go to http://localhost:3000 to configure your Metabase server and point it to the YugaByte DB PostgreSQL API endpoint at `localhost:5433`. +Go to http://localhost:3000 to configure your Metabase server and point it to the YSQL API endpoint at `localhost:5433`. ## 4. Run Complex Queries with Metabase diff --git a/content/latest/develop/realworld-apps/retail-analytics.md b/content/latest/develop/realworld-apps/retail-analytics.md index ee8eefdb..c28e690d 100644 --- a/content/latest/develop/realworld-apps/retail-analytics.md +++ b/content/latest/develop/realworld-apps/retail-analytics.md @@ -43,14 +43,14 @@ $ ls data/ orders.sql products.sql reviews.sql users.sql ``` -### Connect to YugaByte DB using psql +### Connect to YugaByte DB using ysqlsh ```sh -$ ./bin/psql -h 127.0.0.1 -p 5433 -U postgres +$ ./bin/ysqlsh ``` ``` -psql (10.3, server 10.4) +ysqlsh (11.2) Type "help" for help. postgres=# diff --git a/content/latest/explore/binary/auto-sharding.md b/content/latest/explore/binary/auto-sharding.md index 8dd02a4e..c5c7ea34 100644 --- a/content/latest/explore/binary/auto-sharding.md +++ b/content/latest/explore/binary/auto-sharding.md @@ -41,7 +41,7 @@ $ ./bin/yb-ctl status | Node Count: 3 | Replication Factor: 1 | ---------------------------------------------------------------------------------------------------- | JDBC : postgresql://postgres@127.0.0.1:5433 | -| YSQL : ./bin/psql -U postgres -h 127.0.0.1 -p 5433 | +| YSQL : ./bin/ysqlsh | | YCQL : ./bin/cqlsh 127.0.0.1 9042 | | YEDIS : ./bin/redis-cli -h 127.0.0.1 -p 6379 | | Web UI : http://127.0.0.1:7000/ | @@ -51,7 +51,7 @@ $ ./bin/yb-ctl status | Node 1: yb-tserver (pid 72053), yb-master (pid 72050) | ---------------------------------------------------------------------------------------------------- | JDBC : postgresql://postgres@127.0.0.1:5433 | -| YSQL : ./bin/psql -U postgres -h 127.0.0.1 -p 5433 | +| YSQL : ./bin/ysqlsh | | YCQL : ./bin/cqlsh 127.0.0.1 9042 | | YEDIS : ./bin/redis-cli -h 127.0.0.1 -p 6379 | | data-dir[0] : /Users/schoudhury/yugabyte-data/node-1/disk-1/yb-data | @@ -62,7 +62,7 @@ $ ./bin/yb-ctl status | Node 2: yb-tserver (pid 72128) | ---------------------------------------------------------------------------------------------------- | JDBC : postgresql://postgres@127.0.0.2:5433 | -| YSQL : ./bin/psql -U postgres -h 127.0.0.2 -p 5433 | +| YSQL : ./bin/ysqlsh | | YCQL : ./bin/cqlsh 127.0.0.2 9042 | | YEDIS : ./bin/redis-cli -h 127.0.0.2 -p 6379 | | data-dir[0] : /Users/schoudhury/yugabyte-data/node-2/disk-1/yb-data | @@ -72,7 +72,7 @@ $ ./bin/yb-ctl status | Node 3: yb-tserver (pid 72166) | ---------------------------------------------------------------------------------------------------- | JDBC : postgresql://postgres@127.0.0.3:5433 | -| YSQL : ./bin/psql -U postgres -h 127.0.0.3 -p 5433 | +| YSQL : ./bin/ysqlsh -U postgres -h 127.0.0.3 -p 5433 | | YCQL : ./bin/cqlsh 127.0.0.3 9042 | | YEDIS : ./bin/redis-cli -h 127.0.0.3 -p 6379 | | data-dir[0] : /Users/schoudhury/yugabyte-data/node-3/disk-1/yb-data | diff --git a/content/latest/manage/data-migration/bulk-export.md b/content/latest/manage/data-migration/bulk-export.md index ca7e5244..3a93413f 100644 --- a/content/latest/manage/data-migration/bulk-export.md +++ b/content/latest/manage/data-migration/bulk-export.md @@ -15,7 +15,7 @@ This page documents the options for export data out of YugaByte DB.
-
- {{% includeMarkdown "cassandra/bulk-export.md" /%}} +
+ {{% includeMarkdown "ycql/bulk-export.md" /%}}
diff --git a/content/latest/manage/data-migration/bulk-import.md b/content/latest/manage/data-migration/bulk-import.md index 6a52e644..923c94c7 100644 --- a/content/latest/manage/data-migration/bulk-import.md +++ b/content/latest/manage/data-migration/bulk-import.md @@ -16,7 +16,7 @@ Depending on the data volume imported, various bulk import tools can be used to
-
- {{% includeMarkdown "cassandra/bulk-import.md" /%}} +
+ {{% includeMarkdown "ycql/bulk-import.md" /%}}
diff --git a/content/latest/manage/data-migration/cassandra/bulk-export.md b/content/latest/manage/data-migration/ycql/bulk-export.md similarity index 100% rename from content/latest/manage/data-migration/cassandra/bulk-export.md rename to content/latest/manage/data-migration/ycql/bulk-export.md diff --git a/content/latest/manage/data-migration/cassandra/bulk-import.md b/content/latest/manage/data-migration/ycql/bulk-import.md similarity index 100% rename from content/latest/manage/data-migration/cassandra/bulk-import.md rename to content/latest/manage/data-migration/ycql/bulk-import.md diff --git a/content/latest/quick-start/binary/create-local-cluster.md b/content/latest/quick-start/binary/create-local-cluster.md index 0fb4743f..9dcefe43 100644 --- a/content/latest/quick-start/binary/create-local-cluster.md +++ b/content/latest/quick-start/binary/create-local-cluster.md @@ -30,7 +30,7 @@ $ ./bin/yb-ctl status | Node Count: 1 | Replication Factor: 1 | ---------------------------------------------------------------------------------------------------- | JDBC : postgresql://postgres@127.0.0.1:5433 | -| YSQL Shell : ./bin/ysqlsh -U postgres -h 127.0.0.1 -p 5433 | +| YSQL Shell : ./bin/ysqlsh | | YCQL Shell : ./bin/cqlsh 127.0.0.1 9042 | | YEDIS Shell : ./bin/redis-cli -h 127.0.0.1 -p 6379 | | Web UI : http://127.0.0.1:7000/ | @@ -40,7 +40,7 @@ $ ./bin/yb-ctl status | Node 1: yb-tserver (pid 68412), yb-master (pid 68409) | ---------------------------------------------------------------------------------------------------- | JDBC : postgresql://postgres@127.0.0.1:5433 | -| YSQL Shell : ./bin/ysqlsh -U postgres -h 127.0.0.1 -p 5433 | +| YSQL Shell : ./bin/ysqlsh | | YCQL Shell : ./bin/cqlsh 127.0.0.1 9042 | | YEDIS Shell : ./bin/redis-cli -h 127.0.0.1 -p 6379 | | data-dir[0] : /Users/schoudhury/yugabyte-data/node-1/disk-1/yb-data | diff --git a/content/latest/quick-start/binary/explore-ysql.md b/content/latest/quick-start/binary/explore-ysql.md index 847fa636..6984877b 100644 --- a/content/latest/quick-start/binary/explore-ysql.md +++ b/content/latest/quick-start/binary/explore-ysql.md @@ -1,7 +1,7 @@ --- --- -Run psql to connect to the service. +Run ysqlsh to connect to the service. ```sh $ ./bin/ysqlsh -h 127.0.0.1 -p 5433 -U postgres --echo-queries diff --git a/content/latest/quick-start/docker/explore-ysql.md b/content/latest/quick-start/docker/explore-ysql.md index 37bec92d..a0fa03cb 100644 --- a/content/latest/quick-start/docker/explore-ysql.md +++ b/content/latest/quick-start/docker/explore-ysql.md @@ -23,7 +23,7 @@ docker cp ./data/reviews.sql yb-tserver-n1:/home/yugabyte/data/. docker cp ./data/users.sql yb-tserver-n1:/home/yugabyte/data/. ``` -Run psql to connect to the service. +Run ysqlsh to connect to the service. ```sh $ docker exec -it yb-tserver-n1 /home/yugabyte/bin/ysqlsh -h yb-tserver-n1 -p 5433 -U postgres --echo-queries diff --git a/content/latest/quick-start/explore-ysql.md b/content/latest/quick-start/explore-ysql.md index 8a43e4ce..43cd3aa9 100644 --- a/content/latest/quick-start/explore-ysql.md +++ b/content/latest/quick-start/explore-ysql.md @@ -27,9 +27,6 @@ After [creating a local cluster](../create-local-cluster/), follow the instructi YSQL is currently in beta. We are actively working on making it production ready for the 2.0 release in Summer 2019. If you face any problems while trying YSQL or find important features not yet supported, help us make it better by reporting issues on GitHub and/or join our Slack channel to discuss live with us. {{< /note >}} -[**psql**](https://www.postgresql.org/docs/9.3/static/app-psql.html) is a command line shell for interacting with PostgreSQL. For ease of use, YugaByte DB ships with a version of psql in its bin directory. - - ## 1. Load Data @@ -57,7 +54,7 @@ $ ls data/ orders.sql products.sql reviews.sql users.sql ``` -- Connect using ysqlsh +- Connect using ysqlsh, the YugaByte SQL shell