mpa
May 2nd, 2006, 10:27 AM
Hi guys, I moved to a new apartment which yet to have an internet connection, so before I moved out I downloaded wikipedia xml dump so I can have an offline encyclopedia. After using mediawiki's phpdump, I found out that I didnt have enough freespace, so I deleted the database and was thinking about symlinking /var/lib/mysql to another drive which has enough space.
Unfortunately, deleteing wikipedia database did not free up the now unused space. Since I really need the occupied space, I deleted the ibdata1 file in /var/lib/mysql (I am not sure if I spelled it right, dont have my boxen with me). I thought I could just delete everything in /var/lib/mysql and then use mysql_install_db to start a fresh mysql database. Unfortunately, ever since then, I can no longer start mysql daemon.
I've been in this situation before and back then reinstalling mysql easily fixed it, but right now I have no internet. Any ubuntu user know how to fix this ?
I am using Ubuntu Dapper Beta, last updated two days ago.
Unfortunately, deleteing wikipedia database did not free up the now unused space. Since I really need the occupied space, I deleted the ibdata1 file in /var/lib/mysql (I am not sure if I spelled it right, dont have my boxen with me). I thought I could just delete everything in /var/lib/mysql and then use mysql_install_db to start a fresh mysql database. Unfortunately, ever since then, I can no longer start mysql daemon.
I've been in this situation before and back then reinstalling mysql easily fixed it, but right now I have no internet. Any ubuntu user know how to fix this ?
I am using Ubuntu Dapper Beta, last updated two days ago.