|
From: Dominic R. <dl...@ed...> - 2010-02-25 18:36:08
|
Hi Chris Run setup, choose Other / MySQL, put in settings like: --user=mysql --pid-file=/var/run/mysql.pid --datadir=/home/mysql as you see, this specifies a datadir which is in /home, which is (for me, and probably for you) a permanent (hard disk) location. Do: save-config -q /etc/init.d/mysqld restart Dominic On 25/02/2010 17:28, Chris Grove wrote: > Hi guys. I've got a bit of a noob problem here. I've got my DL server > running just nice, I've managed to get postfix and dovecot to play nice too > and work. The problem is, when the system restarts the MySQL database > disappears and I have to set it all up again. Is there any way of moving the > database so it gets backed up by the save-config command?? Either that or is > there any way of writing a script to recreate the db after a reboot? > Thanks, Chris. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |