Reply to Re: Dropping all tables in a database?

Your name:

Reply:


Posted by Tom on 07/18/07 20:17

On Wed, 18 Jul 2007 09:50:24 -0700, laredotornado@zipmail.com wrote...
>
>Hi,
>
>I'm using php 4.4.4 with MySQL 5.0 on Linux. Short of dropping the
>database, which my user does not have privileges to, what is the
>simplest way to purge all data from the db? By this I mean not only
>deleting data from tables but also the tables themselves?
>
>Thanks, - Dave
>


In MySQL I think you can display all tables by using "SHOW TABLES;" From that
list you can use "DROP TableName;" but may have to enable user permissions to
drop tables.


Tom
--
Newsguy Takes Usenet Cellular!
Download your favorite photos, songs or movie files
Send the files or links your cell/PDA
http://newsguy.com/cellphone.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация