Remedy for a lost administrator password

Questions and answers for all installation-related topics for Servoy products

Remedy for a lost administrator password

Postby Westy » Mon Jul 19, 2004 12:39 am

I have a customer who entered his administrator name and password within Developer and did not write the information down. He has now forgotten the password. What is the fastest way to fix this situation and get him up and running again?
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Postby Jan Aleman » Mon Jul 19, 2004 10:30 am

1.make a backup of the repository database
2. delete the contents of the table servoy_users using a sql tool
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Karel Broer » Mon Jul 26, 2004 5:03 pm

jaleman wrote:2. delete the contents of the table servoy_users using a sql tool


How do I do this on OS X 10.3?
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Jan Aleman » Mon Jul 26, 2004 5:06 pm

That depends on which database you use. If you use iAnywhere (as of 2.0 the default database Servoy ships with) you can download the developer edition of iAnywhere from www.ianywhere.com and use Sybase Central (information on using sybase central is in our docs as well as in the sybase docs) to connect to the database.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Karel Broer » Mon Jul 26, 2004 5:53 pm

Pfew... I can login in Security again.... I re-installed Servoy Developer and imported the solution again. That did it too :wink:

Thanks iAnyway, Jan!
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Jan Aleman » Mon Jul 26, 2004 5:56 pm

iAnytime!
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Sybase Central

Postby Karel Broer » Tue Jul 27, 2004 11:45 pm

I just had a little look into Sybase Central, it's a really nice tool! I even can rename the tables....
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Re: Sybase Central

Postby Jan Aleman » Thu Sep 02, 2004 4:02 am

freecolours wrote:I just had a little look into Sybase Central, it's a really nice tool! I even can rename the tables....


Note that if you rename tables you must restart servoy developer before it can see the changes.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Karel Broer » Thu Sep 02, 2004 9:34 am

Thanks! I noticed that... other thing about Sybase central is that I would like to be able to change the column type, but I can't. Is there a possibility to do that somewhere?
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Jan Aleman » Wed Sep 08, 2004 1:42 am

delete it and recreate it
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Karel Broer » Wed Sep 08, 2004 9:21 am

Yes, but do I erase the data content in the deleted and re-created column?
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Jan Aleman » Wed Sep 08, 2004 4:53 pm

yes of course

you can copy the data into a copy table to avoid that.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth


Return to Installation

Who is online

Users browsing this forum: Bing [Bot] and 4 guests