MySQL Forums
Forum List  »  Security

Removing schema information from MySQL system files
Posted by: Martin Dubuc
Date: June 14, 2006 08:23AM

I am trying to write some RPM scripts to remove my application from a system. My application uses MySQL database. I notice that even after I perform DROP DATABASE, there is still some reference to my database (database name, column names, etc.) in various system files. Under /var/lib/mysql/mysql, I can find references to my database schema in the following files: tables_priv.MYI, columns_priv.MYI, db.MYI, db.MYD, tables_priv.MYD. I wonder if there is a way to massage these files to remove mention to databases that would be removed from the system. Even performing a RPM remove of MySQL server leaves these files around.

Martin

Options: ReplyQuote


Subject
Views
Written By
Posted
Removing schema information from MySQL system files
5108
June 14, 2006 08:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.