How to purge completly a broken MySQL
stan
stanb at panix.com
Sun Jan 11 14:32:06 UTC 2009
On Sat, Jan 10, 2009 at 06:14:23PM -0800, NoOp wrote:
> On 01/10/2009 04:49 PM, stan wrote:
> > On Sat, Jan 10, 2009 at 04:06:42PM -0800, NoOp wrote:
> [snip]
> >> So, reinstall:
> >>
> >> sudo apt-get install --reinstall mysql-server-5.0
> >>
> >> and then purge it:
> >>
> >> sudo apt-get remove --purge mysql-server-5.0
> >>
> >> and you should be ok.
> >
> > I seem to have created quite the extrodinary mess here :-(
> >
> > I went through those steps, but the install after that still fails
> > I don't beleive that I am getting all the remnants of this package removed.
> > What procedure would do that?
> >
> > Here is teh failure, if it helps:
>
> It doesn't unless you detail what happened when you ran the two commands
> above. Did you receive any errors when you ran:
> sudo apt-get install --reinstall mysql-server-5.0
> or are the errors below from that command?
That is correct. Those are the errors from that command.
>
> >
> > Setting up mysql-server-5.0 (5.0.67-0ubuntu6) ...
> > * Stopping MySQL database server mysqld [
> > OK ]
> > 090110 19:46:13 [ERROR] /usr/sbin/mysqld: Can't find file:
> > './mysql/user.frm' (errno: 13)
> > 090110 19:46:13 [ERROR] /usr/sbin/mysqld: Can't find file:
> > './mysql/user.frm' (errno: 13)
> > ERROR: 1017 Can't find file: './mysql/user.frm' (errno: 13)
> > 090110 19:46:13 [ERROR] Aborting
> >
> > 090110 19:46:13 [Note] /usr/sbin/mysqld: Shutdown complete
> >
> >
> > Reloading AppArmor profiles : done.
> > * /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See
> > README.Debi
> > an.gz
> > * Starting MySQL database server mysqld
> > [fail]
> > invoke-rc.d: initscript mysql, action "start" failed.
> > dpkg: error processing mysql-server-5.0 (--configure):
> > subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> > mysql-server-5.0
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
More information about the ubuntu-users
mailing list