![Page 1: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/1.jpg)
How to configure Squirrel for UnicentaRequirements: SQuirreL SQL Client
If downloaded not the latest version but it will work for this instruction
The requirements for Squirrel are the same as for Unicenta (java)
If you double click the jar file the installation will start.
Click Next
![Page 2: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/2.jpg)
Click Next
![Page 3: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/3.jpg)
Browse to the path where you want to install it, and click next
A popup about the creation of the new directory, I clicked OK
![Page 4: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/4.jpg)
Select the plugins you want to install. For Unicenta select additional the “Optional Plugin – Derby” And click next
![Page 5: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/5.jpg)
Wait for the installation to finishAnd click next
![Page 6: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/6.jpg)
Click Next
![Page 7: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/7.jpg)
Click Done
Start the Squirrel SQL Client from the start menu
![Page 8: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/8.jpg)
On the left side click Drivers
Select Apache Derby Embedded,
![Page 9: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/9.jpg)
Click the Pen
The new popup comes. Select “Extra Class Path”
![Page 10: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/10.jpg)
Click the Add Button
![Page 11: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/11.jpg)
Browse to the UnicentaOpos Lib directory. And select derby.jar. Do NOT use the Debry.jar in the plugin directory (this was the first error I made in the past. Then no Class name could be found)
Click List Drivers…..and wait,Click the dropdown option and select org.apache.derby.jdbcEmbeddedDriver
![Page 12: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/12.jpg)
![Page 13: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/13.jpg)
Notice the change
![Page 14: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/14.jpg)
On the left side click Aliases
Click the +
Select the correct Driver “Apache Derby Driver”
![Page 15: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/15.jpg)
Give in a Name: UnicentaOpos (it is just a display name)
![Page 16: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/16.jpg)
I’m running on Windows so I fire up configure.batI do this because the complete line to the Derby database is in there as URL
Copy the URL (the complete content ot the URL Box)For demo here is my URL
jdbc:derby:C:\PortableApps\Documents\unicenta\unicentaopos-3.70\derby\unicentaopos-database;create=true
![Page 17: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/17.jpg)
And past it in Squirrel and click test
![Page 18: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/18.jpg)
Click Connect
And if the connection was successful you will get this message and click ok
Click OK and connect to connect to the database at this time.
![Page 19: Unicenta - How to configure Squirrel for Unicenta](https://reader031.vdocument.in/reader031/viewer/2022012014/6158f57c448d3b10d279f374/html5/thumbnails/19.jpg)
You will get something like this:
To Execute a SQL Query click the second tab (SQL)
If you have copy and paste the SQL script hit the men. to execute the query.
If you want to see the data tha tabels are in APP