To use the ij tool with the network client driver:
- Specify the org.apache.derby.jdbc.ClientDriver driver in
any of the following ways:
- Use a script. Run the ij.bat script on Windows
systems and the ij.ksh script on UNIX systems. These scripts are located in
the $DERBY_INSTALL directory.
- Run the ij tool from the command line.
java -Dij.driver='org.apache.derby.jdbc.ClientDriver'
org.apache.derby.tools.ij
- Use the DRIVER command.
ij> DRIVER 'org.apache.derby.jdbc.ClientDriver';
- Connect by specifying the URL:
ij> CONNECT 'jdbc:derby://localhost:1527/sample'
USER 'judy' PASSWORD 'no12see';
See Network client driver examples for
additional URL examples.