19
How to configure Squirrel for Unicenta Requirements: 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

Unicenta - How to configure Squirrel for Unicenta

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Unicenta - How to configure Squirrel for Unicenta

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

Click Next

Page 3: Unicenta - How to configure Squirrel for Unicenta

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

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

Wait for the installation to finishAnd click next

Page 6: Unicenta - How to configure Squirrel for Unicenta

Click Next

Page 7: Unicenta - How to configure Squirrel for Unicenta

Click Done

Start the Squirrel SQL Client from the start menu

Page 8: Unicenta - How to configure Squirrel for Unicenta

On the left side click Drivers

Select Apache Derby Embedded,

Page 9: Unicenta - How to configure Squirrel for Unicenta

Click the Pen

The new popup comes. Select “Extra Class Path”

Page 10: Unicenta - How to configure Squirrel for Unicenta

Click the Add Button

Page 11: Unicenta - How to configure Squirrel for Unicenta

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
Page 13: Unicenta - How to configure Squirrel for Unicenta

Notice the change

Page 14: Unicenta - How to configure Squirrel for Unicenta

On the left side click Aliases

Click the +

Select the correct Driver “Apache Derby Driver”

Page 15: Unicenta - How to configure Squirrel for Unicenta

Give in a Name: UnicentaOpos (it is just a display name)

Page 16: Unicenta - How to configure Squirrel for Unicenta

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

And past it in Squirrel and click test

Page 18: Unicenta - How to configure Squirrel for Unicenta

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

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