Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging MySQL database on UNIX server

Status
Not open for further replies.

johndayo

Programmer
May 22, 2002
11
GB
Hi

I currently have the following command running as default which creates a log file for all dbs:

/server_path/safe_mysql --log-bin --user=mysql &

The file this produces is the default "hostname-bin.###"

I want this command to create a log file for a particular database (not all) and to give it a specific filename.

I tried the following, but it didn't work:

/server_path/safe_mysql --log-bin=filename binlog-do-db=db_name --user=mysql &

Any ideas would be well recieved. And if anyone has any actual examples rather than just giving me a link to the mysql.com documentation that would marvellous as well :)

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top