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, 09:09

phbraga's gravatar image

phbraga
26447
accept rate: 0%

edited 19 Jan, 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:

×51
×17

question asked: 19 Jan, 09:09

question was seen: 182 times

last updated: 19 Jan, 09:15