sbb
12-06-2004, 03:01 AM
Hi,
I need some help with using MySQL databases from Knoppix CD. There were some problems with my linux box because of which it has become unbootable. I am trying to salvage the data (some html/php files and MySQL databases). I can boot using Knoppix CD and can access all my data on hda3 after mounting it. I can even start mysqld both from /mnt/hda3/etc/init.d/ as well as /etc/init.d/. The problem is that both instances read only the databases in /var/lib while my databases are on /mnt/hda3/var/lib. If I do chroot, mysqld won't even start. If I move my database files into /var/lib/mysql from /mnt/hda3/var/lib/mysql, mysqld dies as soon as I start it. I tried changing the datadir in my.cnf but it didn't help.
All I want to do is backup (mysqldump) a couple of databases and move them over to a new host.
Could someone please help me out?
Thanks!
I need some help with using MySQL databases from Knoppix CD. There were some problems with my linux box because of which it has become unbootable. I am trying to salvage the data (some html/php files and MySQL databases). I can boot using Knoppix CD and can access all my data on hda3 after mounting it. I can even start mysqld both from /mnt/hda3/etc/init.d/ as well as /etc/init.d/. The problem is that both instances read only the databases in /var/lib while my databases are on /mnt/hda3/var/lib. If I do chroot, mysqld won't even start. If I move my database files into /var/lib/mysql from /mnt/hda3/var/lib/mysql, mysqld dies as soon as I start it. I tried changing the datadir in my.cnf but it didn't help.
All I want to do is backup (mysqldump) a couple of databases and move them over to a new host.
Could someone please help me out?
Thanks!