unicenta - how to configure squirrel for unicenta.pdf
Post on 24-Jan-2016
28 Views
Preview:
TRANSCRIPT
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
Click Next
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
Select the plugins you want to install. For Unicenta select additional the “Optional Plugin – Derby” And click next
Wait for the installation to finishAnd click next
Click Next
Click Done
Start the Squirrel SQL Client from the start menu
On the left side click Drivers
Select Apache Derby Embedded,
Click the Pen
The new popup comes. Select “Extra Class Path”
Click the Add Button
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
Notice the change
On the left side click Aliases
Click the +
Select the correct Driver “Apache Derby Driver”
Give in a Name: UnicentaOpos (it is just a display name)
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
And past it in Squirrel and click test
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.
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
top related