Comment 17 for bug 153868

Revision history for this message
benita (benitadaniel1986) wrote : Re: [Bug 153868] Re: package mysql-server-5.0 5.0.45-1ubuntu2 failed to install/upgrade - Access denied for user 'debian-sys-maint'@'localhost'

On Feb 3, 2008 2:07 AM, Mathias Gug <email address hidden> wrote:

> On Sat, Feb 02, 2008 at 06:11:42AM -0000, benita wrote:
> >
> > sudo apt-get install mysql-server
> >
> > which worked fine. but i cant access it!
> > i tried:
> > mysql -u root
> >
>
> Try:
>
> mysql -u root -p
>
> The -p option should prompt you for a password, which can be blanked if
> you haven't setup one during install.
>
> --
> Mathias Gug
> Ubuntu Developer http://www.ubuntu.com
>
> --
> package mysql-server-5.0 5.0.45-1ubuntu2 failed to install/upgrade -
> Access denied for user 'debian-sys-maint'@'localhost'
> https://bugs.launchpad.net/bugs/153868
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Source Package "mysql-dfsg-5.0" in Ubuntu: Incomplete
>
> Bug description:
> I was just trying to update mysql-server, but it says, that "error:
> 'Access denied for user 'debian-sys-maint'@'localhost' (using password:
> YES)'"
>
> ProblemType: Package
> Architecture: i386
> Date: Thu Oct 18 13:33:13 2007
> DistroRelease: Ubuntu 7.10
> ErrorMessage: subprocess new pre-removal script returned error exit status
> 1
> Package: mysql-server-5.0 5.0.45-1ubuntu2
> PackageArchitecture: i386
> SourcePackage: mysql-dfsg-5.0
> Title: package mysql-server-5.0 5.0.45-1ubuntu2 failed to install/upgrade:
> subprocess new pre-removal script returned error exit status 1
> Uname: Linux lap 2.6.22-14-generic #1 SMP Wed Oct 10 06:00:47 GMT 2007
> i686 GNU/Linux
>

hey thanks for replying !
i jus had to give:
mysql -u root -pMyPassword

it worked!