Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Sep 30, 2024
1 parent e407804 commit d25884d
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions docs/blog/2020-08-28-oracle-programming/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,6 @@ exit | sqlplus -S $user/$pwd@//$server:$port/$service_name @script.sql
One example value of `$service_name` could be "ORCL". Note that there is a `@` symble preceding the script
path(`script.sql`)

### Connecting to Oracle DB Instance From the Command Line

#### (First Time) Install Oracle Instant Client and sqlplus using Homebrew

1. Download the two files below from [here](http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html). This
is necessary because of Oracle licenses:

- `instantclient-basic-macos.x64–<version>.zip`
- `instantclient-sqlplus-macos.x64–<version>.zip`

2. Run

```bash
brew tap InstantClientTap/instantclient
brew install instantclient-basic
brew install instantclient-sqlplus
```

#### Connect

```bash
sqlplus ${DBUSER}/${DBUSERPASSWORD}@//${HOST}:${PORT}/${SERVICE_NAME}
```

where `SERVICE_NAME` is the same thing as "database name" as in MySQL terminology

### Shell Commands

#### Display UTF8
Expand Down

0 comments on commit d25884d

Please sign in to comment.