The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Hi.

Is it possible to deny all new connections temporarily in SA12 and/or SA16? This would be great for updating the schema and debugging.

br,

Bjarne Anker Maritech Systems Norway

asked 02 Mar '15, 02:56

Bjarne%20Anker's gravatar image

Bjarne Anker
390141426
accept rate: 0%

edited 02 Mar '15, 03:19

Volker%20Barth's gravatar image

Volker Barth
29.3k287438645


You can do that via the system procedure sa_server_option when setting the options "ConnsDisabled" or "ConnsDisabledForDB" to YES, i.e. with something like

call sa_server_option('ConnsDisabled', 'YES')

or

call sa_server_option('ConnsDisabledForDB', 'YES')

and reset them to 'NO' afterwards.

Confine that very old FAQ here including sample code:

Sample code: How to get full control over a SQL Anywhere server

permanent link

answered 02 Mar '15, 03:18

Volker%20Barth's gravatar image

Volker Barth
29.3k287438645
accept rate: 32%

See the answer to the question How to limit the remote access to the database server? here on this forum.

permanent link

answered 02 Mar '15, 03:19

Martin's gravatar image

Martin
8.6k114149237
accept rate: 14%

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:

×404
×123

question asked: 02 Mar '15, 02:56

question was seen: 364 times

last updated: 02 Mar '15, 03:19