From: AndrĂ©s Tello Date: February 13 2011 11:01pm Subject: Re: Messed up mysql-server, cant reinstall?! List-Archive: http://lists.mysql.com/mysql/224390 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=001636c5a5d0ceaa6a049c31e86b --001636c5a5d0ceaa6a049c31e86b Content-Type: text/plain; charset=ISO-8859-1 didn't u forgot to run mysql_intsall_db? On Fri, Feb 11, 2011 at 6:53 AM, Adam smalin wrote: > I accidentally drop the database mysql. I now cannot restore tables to the > database or do much of anything some details can be found here > > http://serverfault.com/questions/234321/i-accidently-dropped-the-mysql-db/234340#234340 > > after a few unsuccessful uninstalled/reinstalls i wrote whereis mysql and > rm > -rf every directory in that list. I ran `dpkg -P mysql-server`. `apt-get > install mysql-server` saw "Stopping MySQL database server: mysqld.", ran > `/etc/init.d/mysql start` and got the error "Starting MySQL database > server: > mysqld . . . . . . . . . . . . . . failed!". > > I wrote whereis mysql again and got NO DIRECTORIES. > > How do i properly reinstall this? > I cant even restore my backups because of this. > > Yes i did all of this as root > --001636c5a5d0ceaa6a049c31e86b--