MySQL Forums
Forum List  »  Backup

Change datadir on Ubuntu server to a Raid1 partion with databases
Posted by: Javier Brito Pacheco
Date: October 21, 2014 08:22PM

Hi

I need some help making mysql work with another path in ubuntu server 12.0
i hvae a raid disk (partiton) and my new path is /media/reflejo/mysql

of course i´ve already copied the mysql folder into the new partition but i dont know if i did well or not i just copied with a cp command but reading i see that mysql needs to have permissions to acces the files that i just copied

the fact is that i follow a tutorial i restart mysql service and it crashed


i change the datadir line as it was before /var/lib/mysql and it works again

does any one have an idea how i can do it?

i also edit the apparmor file but i dont understant why it keeps crashing

thank you for your answers

grettings!

Options: ReplyQuote


Subject
Views
Written By
Posted
Change datadir on Ubuntu server to a Raid1 partion with databases
2600
October 21, 2014 08:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.