Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Hi fellows,
I have a wamp webserver (php 5.2), it connects very fine on another server running SQLAnywhere 16, I can make queries perfectly. the connection string is
$con = sasql_connect("UID=USER;PWD=PASS;HOST=SERVER07;SERVER=srvcontabil");
From time to time, I need to do some maintenance on this DB, and no connections are permitted at this time, but, when I start the process the server shows the webserver user connected.
I tried disconnect it using "sasql_disconnect($con)" or "sasql_close($con)", right after query/fetch, but it still connected.
To solve I need to shutdown the webserver, but this approach causes a lot of issues because I have several other services on this webserver.
Any ideas ??

asked 19 Jan '18, 09:09

phbraga's gravatar image

phbraga
41779
accept rate: 0%

edited 19 Jan '18, 09:15

Be the first one to answer this question!
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:

×70
×23

question asked: 19 Jan '18, 09:09

question was seen: 1,161 times

last updated: 19 Jan '18, 09:15