db privileges

From: Date: Tue, 06 Jan 2009 15:41:38 +0000
Subject: db privileges
Groups: php.db 
Request: Send a blank email to php-db+get-45858@lists.php.net to get a copy of this message
Hey all, I ran across a problem while trying to run a delete query. The website that I am working on has multiple users in the db for various logins and I was inadvertently using a less-privileged account and found I couldn't make delete queries run successfully. I eventually found out the problem and changed the db connection but I was wondering if there is a php function and/or mysql function that can be run from php to find out the privileges for a particular db connection. Any ideas? PHP Ver. 5.2.1 MySQL Ver. 5.0.27 on Linux Thanks patrick

« previous php.db (#45858) next »