Patrick Price schrieb:
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?
You could query "SHOW GRANTS FOR CURRENT USER".
Hope that helps!
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php