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
745323548
accept rate: 10%

edited 02 Mar '15, 03:19

Volker%20Barth's gravatar image

Volker Barth
39.5k355539811


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
39.5k355539811
accept rate: 34%

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.9k127164253
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:

×438
×157

question asked: 02 Mar '15, 02:56

question was seen: 1,884 times

last updated: 02 Mar '15, 03:19