Database issues

Questions and answers regarding general SQL and backend databases

Database issues

Postby prithviteja99 » Mon Dec 14, 2015 12:32 pm

Hi all,
I am new to Servoy. I have found it's applications really really awesome so wanted to try it. Just now I have installed it on my Ubuntu environment and while installation I was prompted to make a choice for the database. I have chosen the third option that is connect to an existing database as I already have a lot of databases on my local mysql server. While creating the application I have right clicked on Database servers and the options in create new database are disabled. There are only two options in it one is a Postgresql and other is a Sybase. Also the existing DBs such as bug_db etc are not working and the IDE is unable to locate the drivers. An error message pops up and it says "/servoy/developer/../application_server/servoy.properties (Permission denied)"
Help me in this guys.
Thanks in advance
prithviteja99
 
Posts: 7
Joined: Mon Dec 14, 2015 12:21 pm

Re: Database issues

Postby gganea » Mon Dec 14, 2015 1:04 pm

Hi,
This seems like a permissions issue. Try installing Servoy in your home folder, so something like:
/home/prithviteja99/servoy/
Cheers,
George
George Ganea
Servoy
gganea
 
Posts: 20
Joined: Mon May 19, 2014 8:31 am

Re: Database issues

Postby prithviteja99 » Mon Dec 14, 2015 1:20 pm

Hi George, I am trying to install it again, but the path is not being saved. Kindly follow the below attachments.
first i set the path
first.png
first i set the path
first.png (169.02 KiB) Viewed 5059 times


then i click next and click yes for that prompt
second.png
then i click next and click yes for that prompt
second.png (176.48 KiB) Viewed 5059 times


then i come back and i see that the path is not saved
third.png
then i come back and i see that the path is not saved
third.png (169.97 KiB) Viewed 5059 times
prithviteja99
 
Posts: 7
Joined: Mon Dec 14, 2015 12:21 pm

Re: Database issues

Postby gganea » Mon Dec 14, 2015 1:45 pm

Try choosing an existing folder (your home folder) and then maybe adding servoy at the end. So choose /home/username with the browse button and then add '/servoy' by hand.
George Ganea
Servoy
gganea
 
Posts: 20
Joined: Mon May 19, 2014 8:31 am

Re: Database issues

Postby prithviteja99 » Mon Dec 14, 2015 2:35 pm

Nope. Didn't work either
prithviteja99
 
Posts: 7
Joined: Mon Dec 14, 2015 12:21 pm

Re: Database issues

Postby gganea » Mon Dec 14, 2015 2:44 pm

Wierd, try to manually create a new 'servoy' folder in your home folder. Then, when selecting the installation path, instead of using the browse button, simply type the path to that folder. It should be something like
'/home/username/servoy/' but with your actual username instead of 'username'.
If this does not work, what error do you see?
George Ganea
Servoy
gganea
 
Posts: 20
Joined: Mon May 19, 2014 8:31 am

Re: Database issues

Postby prithviteja99 » Mon Dec 14, 2015 5:22 pm

Nope still the same error
"/servoy/developer/../application_server/servoy.properties (Permission denied)"

also I have set the installation path as suggested but when I click next and then previous, I see the path to be still /usr/local
prithviteja99
 
Posts: 7
Joined: Mon Dec 14, 2015 12:21 pm

Re: Database issues

Postby prithviteja99 » Tue Dec 15, 2015 7:59 am

Solved guys. I went to the servoy.properties file and added the configuration.
Thanks everyone. :D
prithviteja99
 
Posts: 7
Joined: Mon Dec 14, 2015 12:21 pm


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 3 guests