How to remove full database in one command
#2

Код:
DROP DATABASE `database_name`;
By default the "DROP DATABASE" statement is disabled. You'll have to set "AllowUserDropDatabase" to true in "config.inc.php" file. I haven't tried running such an SQL command through server. I doubt your connection to MySQL server will be lost in case if the database which was referred in "mysql_connect" got removed.
Reply


Messages In This Thread
How to remove full database in one command - by DemME - 15.12.2015, 10:57
Re: How to remove full database in one command - by Lordzy - 15.12.2015, 11:10

Forum Jump:


Users browsing this thread: 1 Guest(s)