Author Topic: moved mysql to /home/mysql, now nothing works!!! HELP URGENT!!!  (Read 2239 times)

xorred

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
moved mysql to /home/mysql, now nothing works!!! HELP URGENT!!!
« on: February 10, 2011, 08:50:17 pm »
I have moved mysql from /var/lib/mysql to /home/mysql, changed data folder in /etc/mysql/my.cnf, and now nothing works, no systems are operational...

what should I do to enable all systems again???

cheesyking

  • Zen Warrior
  • ***
  • Posts: 148
  • Karma: +1/-0
    • View Profile
Re: moved mysql to /home/mysql, now nothing works!!! HELP URGENT!!!
« Reply #1 on: February 11, 2011, 03:49:13 pm »
I've one suggestion...

change your config back to how it was and sym link the old mysql data directory to its new location. Zentyal will probably want to over write your config change each time you reboot anyway so that isn't a very good way to do it.

Just remember that the backup won't restore the sym link if you have to do a restore from it!