To default directory για τα mysql data είναι /var/lib/mysql. Μπορείς, αν θέλεις, να τα μεταφέρεις (αντιγράψεις) σε άλλο directory/partition.
Η διαδικάσία: 1) σταματάς τον mysql (sudo service mysql stop) 2) Αντιγράφεις (sudo cp) 3) Δηλώνεις στο */etc/mysql/my.cnf* -----> *datadir* = /the new directory/ 4) Διορθώνεις στο */etc/apparmor.d/usr.sbin.mysqld* τις δυο γραμμές με το "* /var/lib/mysql*" 5) sudo /etc/init.d/apparmor reload 6) sudo /etc/init.d/mysql restart On Wed, Dec 5, 2012 at 4:45 PM, Giorgos Theofanous <[email protected]>wrote: > Καλησπέρα, > > ποιο είναι το προτεινόμενο partitionιnγ για db server (mysql) σε ubuntu > server? > > Τα db files τα βάζει στο /var? > > Γιώργος > > -- > *Giorgos* > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20121205/4b12354e/attachment.html > > > -- > Ubuntu-gr mailing list > [email protected] > > If you do not want to receive any more messages from the ubuntu-gr mailing > list, please follow this link and choose unsubscribe: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr > -- Παναγιώτης Θεοδωρόπουλος Panagiotis Theodoropoulos <[email protected]> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.ubuntu.com/archives/ubuntu-gr/attachments/20121205/31d4aa75/attachment.html> -- Ubuntu-gr mailing list [email protected] If you do not want to receive any more messages from the ubuntu-gr mailing list, please follow this link and choose unsubscribe: https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

