MySQL Logs

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
HormonX
Forum Commoner
Posts: 50
Joined: Tue Dec 10, 2002 7:43 pm
Location: Toronto

MySQL Logs

Post by HormonX »

Does any mysql log file keep track of databases/users being created or deleted. I just had an issue where all my databases and users were deleted and i am trying to find out which one of the files keeps track of all that.

If a log file keeps track of all that would the information get written if the database/user was removed using CPanel ?

Thank you.

Greg
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The logging would most likely be a server level setting.

If your database is hosted, talk to them, otherwise it's not likely that they were enabled.

http://dev.mysql.com/doc/refman/5.1/en/query-log.html
Post Reply