[Phpmyadmin-devel] Create Database

Alexander M. Turek alexander.turek at stud.uni-karlsruhe.de
Fri Jun 4 13:17:05 CEST 2004


Hi Tom,

Tom Sommer wrote:
> 
> Garvin Hicking wrote:
> 
> > >I see, okay I can understand it's function and it's purpose now.
> > >I will just hack around it on my servers.
> > 
> > 
> > Okay; however the best way would probably be to just use escaped \_ 
> > characters in your GRANT statements, respectively the 
> > privileges tables...
> 
> Yeah but I have about 2500 databases (with permissions) on 
> several servers which are not created that way (I didn't 
> write the scripts :) )
> 
> I will adjust the scripts to escape the underscore in the 
> future, and maybe some day make a script which fixes the old GRANTS :)

Even if you would hack into phpMyAdmin to disable the database creation
form, the users would still be able to create databases by submitting a
CREATE DATABASE query.

btw, I think we have a users mailing list for discussions like this ;-)

Regards,

-- 

Alexander M. Turek
<rabus at users.sourceforge.net>

       _           __  __          _       _           _
 _ __ | |__  _ __ |  \/  |_   _   / \   __| |_ __ ___ (_)_ __
| '_ \| '_ \| '_ \| |\/| | | | | / _ \ / _` | '_ ` _ \| | '_ \
| |_) | | | | |_) | |  | | |_| |/ ___ \ (_| | | | | | | | | | |
| .__/|_| |_| .__/|_|  |_|\__, /_/   \_\__,_|_| |_| |_|_|_| |_|
|_|         |_|           |___/ 
                                    <http://www.phpmyadmin.net>






More information about the Developers mailing list