[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partly OT: Where does mysql store its database?



Ah! And there is just a single datadir statement - so I just copied the entire 
folder from the flash to the HDD and changed the two directory-entries 
accordingly.

Works like a charm, thank you!

> 
>       Have you checked the my.cnf to see where it thinks the database
> is? Mine claims that
> 
> datadir=/var/lib/mysql
> socket=/var/lib/mysql/mysql.sock

-- 
Rüdiger Leibrandt
Am Hang 6
27356 Rotenburg
Germany

Cel.: +49 (0) 170 6885664
Fax.: +49 (0) 1212-5-463-40-536

---
"We should treat personal electronic data with the same care and respect as 
weapons-grade plutonium -- it is dangerous, long-lasting and once it has 
leaked there's no getting it back"
 - Cory Doctorow


Reply to: