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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie, question how to backup ???

Status
Not open for further replies.

haux

Programmer
Apr 11, 2001
79
DZ
Where are the data stored by Mysql, so i can store it for backup (i have Linux kernel 2.4)

Does it put all the data in one directory ?

Thanks for all ;)
 
hi
on my home computer i have all my databases in /var/lib/mysql/
and our company server stores the data in /usr/local/mysql/var/
so it depends on the configuration (look for the starting script for mysql server for datadir parameter)
and yes it puts all the data there, i'm using it when i want complete update of data at home, i just download the zip with the databases and that's it
hope that helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top