Using the Derby ij tool with the Network Server

To use the ij tool with the network client driver:
  1. Specify the org.apache.derby.jdbc.ClientDriver driver in any of the following ways:
    1. 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.
    2. Run the ij tool from the command line.
      java -Dij.driver='org.apache.derby.jdbc.ClientDriver' 
    3. Use the DRIVER command.
      ij> DRIVER 'org.apache.derby.jdbc.ClientDriver'; 
  2. 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.
Related tasks
Using the Derby dblook tool with the Network Server