Hello all,

I´m starting with Sybase and I´m not able to automatically start two databases created by me during the windows startup.

Everytime I restart the computer I have to Start it manually through the Sybase Central, providing the "Database file", "Encription Key", and "Database Name".

Someone knows where can I configure this?

asked 02 Jan '14, 12:53

suportesap6's gravatar image

suportesap6
1111
accept rate: 0%


You need to create a Windows service. See the documentation on dbsvc.

For the encryption key, you will need to put it in a @data file and then use dbfhide -w to 'hide' the contents of the file so that users cannot read the encryption key. Note that the -w option encrypts the file using builtin Windows encryption and uses an encryption key that is known to the user only ... so you need to run the dbfhide command when logged in as the same user as the user that is going to run the service.

See the documentation for more information on services.

HTH

permanent link

answered 02 Jan '14, 13:07

Mark%20Culp's gravatar image

Mark Culp
23.3k9132275
accept rate: 40%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×103

question asked: 02 Jan '14, 12:53

question was seen: 651 times

last updated: 02 Jan '14, 13:07