Bug #17673 Updated: error 6 errcode 13 when trying to drop database

From: Date: Mon, 08 Jul 2002 02:25:59 +0000
Subject: Bug #17673 Updated: error 6 errcode 13 when trying to drop database
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13472@lists.php.net to get a copy of this message
ID: 17673 Updated by: sniper@php.net Reported By: adam@adeptsoftware.com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: winxp PHP Version: 4.1.2 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-06-09 22:28:21] adam@adeptsoftware.com I can't figure out what's going on here, but maybe this info will be enough. It appears that PHP is sometimes keeping a DB connection open after it exits. This makes it so the tables can't be dropped until they are flushed (the files are locked) From my debugging, my guess is that a second connection may be made to the DB and one of them is not released by php. In process explorer, I saw that there were 2 connections to a table, but they had different cases - one connection called the database "Test" and the other "test". This is my best guess as to the problem. The automatic connection on query feature may be starting the second connection. I see no way to detect if a connection exists already or i'd test this..? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17673&edit=1

« previous php.bugs (#13472) next »