[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-user-fr
Subject: Re: [gentoo-user-fr] =?iso-8859-15?Q?enlev?=
From: Cedric Krier <ced () ced ! homedns ! org>
Date: 2004-10-17 12:37:48
Message-ID: 20041017123748.GA19408 () kaneda ! ced ! homedns ! org
[Download RAW message or body]
Ce serait pas plutot :
/usr/bin/mysql -u root localhost -p poeutpoeut
On 17/10/04 14:19 +0000, Jean-Philippe CARUANA wrote:
> Cedric Krier wrote:
> >On 16/10/04 16:04 +0000, Jean-Philippe CARUANA wrote:
> >
> >As-tu essaye de remplacer mephisto par localhost ?
>
> oui : ca donne
> bash-2.05b# /usr/bin/mysqladmin -u root -h localhost password poeutpoeut
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root@localhost' (Using password: NO)'
>
> >>>>suite à une (très) mauvaise config de mysql (je me retrouve bloqué au
> >>>>niveau des droits,
> >>>>n'arrive plus à me connecter meme avec root), j'ai décidé d'enlever
> >>
> >>completement mysql pour
> >>
> >>>>repartir à 0, sur des bases saines
> >>
> >>>rm -rf /var/lib/mysql
> >>
> >>merci, c'est nickel !
> >>
> >>par contre, pour l'install, je dois faire
> >>
> >>bash-2.05b# ebuild
> >>/var/db/pkg/dev-db/mysql-4.0.20-r1/mysql-4.0.20-r1.ebuild config
> >>* Press ENTER to create the mysql database and set proper
> >>* permissions on it, or Control-C to abort now...
> >>
> >>Preparing db table
> >>Preparing host table
> >>Preparing user table
> >>Preparing func table
> >>Preparing tables_priv table
> >>Preparing columns_priv table
> >>Installing all prepared tables
> >>
> >>PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
> >>To do so, start the server, then issue the following commands:
> >>/etc/init.d/mysql start (you have to start the server first!)
> >>/usr/bin/mysqladmin -u root -h mephisto password 'new-password'
> >>/usr/bin/mysqladmin -u root password 'new-password'
> >>
> >>j'essaye ces commandes, mais voia que j'ai des erreurs :
> >>
> >>bash-2.05b# /usr/bin/mysqladmin -u root -h mephisto password pass
> >>/usr/bin/mysqladmin: connect to server at 'mephisto' failed
> >>error: 'Host 'mephisto.jpnetwork' is not allowed to connect to this
> >>MySQL server'
> >>bash-2.05b# /usr/bin/mysqladmin -u root password ni=eau00
> >>bash-2.05b# /usr/bin/mysqladmin -u root -h mephisto password pass
> >>/usr/bin/mysqladmin: connect to server at 'mephisto' failed
> >>error: 'Host 'mephisto.jpnetwork' is not allowed to connect to this
> >>MySQL server'
> >>
> >>une idée ?
> >>
> >>--
> >>Jean-Philippe Caruana
> >>http://enstimac.fr/~caruana/
> >>
> >>--
> >>gentoo-user-fr@gentoo.org mailing list
> >
> >
>
>
> --
> Jean-Philippe Caruana
> http://enstimac.fr/~caruana/
>
> --
> gentoo-user-fr@gentoo.org mailing list
>
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic