The forum is currently being migrated to a new host. While the migration happens, the old server is still available. Once the new machine is ready, I will copy the database to the new machine. Feel free to ask and answer questions in the meantime.

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
595253042
accept rate: 0%

edited 02 Mar '15, 03:19

Volker%20Barth's gravatar image

Volker Barth
37.1k343509770


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
37.1k343509770
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.7k122158244
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:

×435
×149

question asked: 02 Mar '15, 02:56

question was seen: 1,411 times

last updated: 02 Mar '15, 03:19