Skip to content

Commit eb95db0

Browse files
committed
docs: sqlldr setup
1 parent f710075 commit eb95db0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ A Laravel package that allows you to easily load data into Oracle database using
1818

1919
- Before you can use this package, you need to install the Oracle Instant Client with Tools Package. You can download the package from the [Oracle website](https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html).
2020
- You should also take note of the path where the `sqlldr` executable is located.
21+
- For example, if you installed the Oracle Instant Client with Tools Package in `/usr/local/oracle/instantclient_19_6`, the `sqlldr` executable will be located in `/usr/local/oracle/instantclient_19_6/sqlldr`.
22+
- You can also add the path to the `sqlldr` executable to your system's PATH environment variable.
23+
- You can also set the path to the `sqlldr` executable in the `.env` file using the `SQL_LOADER_PATH` key.
24+
- You can also set the path to the `sqlldr` executable in the `config/sql-loader.php` file using the `sqlldr` key.
25+
- You can symlink the `sqlldr` executable to `/usr/local/bin` using the following command:
26+
```bash
27+
sudo ln -nfs /usr/local/oracle/instantclient_19_6/sqlldr /usr/local/bin/sqlldr
28+
```
2129
- Knowledge of how to use `sqlldr` is also required. You can read the documentation [here](https://docs.oracle.com/en/database/oracle/oracle-database/23/sutil/oracle-sql-loader.html#GUID-8D037494-07FA-4226-B507-E1B2ED10C144).
2230

2331
## Installation

0 commit comments

Comments
 (0)