MySQL DB Cleanup Script Icon

MySQL DB Cleanup Script

beta

PHP Script to drop tables on all/some databases with wildcards

Add a Review
0 Downloads (This Week)
Last Update:
  Browse Code Git Repository

Screenshots

Description

I see there is no way in MySQL to drop tables using wildcards like 'temp_%', this simple PHP will help us do the following.

1. specify databases like 'anything%', so you check only the databases you need to.

2. specify tables like 'temp_%' , 'temp3_%' in an array so any number of temp wildcards possible.

3. loop through all databases and tables matching to drop the temp tables.

This makes it easy for you dropping many temp tables but be very careful about the wildcard, things may go completely wrong if you get the wildcard wrong.

MySQL DB Cleanup Script Web Site

KEEP ME UPDATED

Write a Review

User Reviews

Be the first to post a review of MySQL DB Cleanup Script!

Additional Project Details

Intended Audience

Advanced End Users, System Administrators, Developers

User Interface

Web-based

Programming Language

PHP

Registered

2012-02-26

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks