Deleting a MYSQL database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2 May 2006 13:24:21 -0700
"Chris Heiner" <cheiner@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Does anyone know the syntax for deleting a MYSQL database? I created
> one and messed up something in a config.inc.php on myphpadmin and now
> im locked out when I tried to access the http authentication for
> myphpadmin.
> 
> I want to delete the database, recreate all and take better notes on
> passwords etc..

# in mysql :

drop database database-name;

where database-name is the name of the database you want to remove

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux