OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

Easily remove unused MySQL databases

I use PHPUnit and the DbUnit extension for my unit tests. Because I use InnoDB tables with foreign keys I cannot use an SQLite database or temporary tables to run my unittests on. So, I have set up a separate MySQL server to run all my unittests on. The only downside is that after a while, you get a bunch of unused databases on the server. So, I have written a simple bash cronjob that deletes all databases from the server that have not been used for some time.

Read More In: News, Rumors and Gossip

The world is talking about GNU, Linux, and the world of open and free software. Brought to you by LXer.com, stay up to date on the freshest news on your favorite code, firmware, or distro.


Featured Article

How to Configure Windows Network Browsing in Tomato on NETGEAR WNR3500L

by Brandon C on October 22, 2010 1:15 PM

With Windows, browsing computers in the network can take a long time with serious delays before getting the computer lists. This especially happens in environments where there is not a server available which most of us have in our home scenarios. If not aware of it the TomatoUSB firmware can... More »

Topics: WNR3500L Tomato

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window