suite =E0 une (tr=E8s) mauvaise config de mysql (je me retrouve bloqu=E9 =
au niveau des droits, n'arrive plus =E0 me connecter meme avec root), =
j'ai d=E9cid=E9 d'enlever completement mysql pour repartir =E0 0, sur =
des bases saines
j'ai fait :
# emerge -v unmerge mysql
# emerge -v mysql
mais au moment de lancer la config, il me signale que j'ai d=E9j=E0 =
install=E9 mysql auparavant (et tous les droits, tables et autres sont =
conserv=E9s). J'avais essay=E9 de les trouver, mais impossible de mettre =
la main dessus dans /var.
Quels fichiers effacer pour repartir =E0 0 ?
Sinon, qques conseils pour bien configurer mysql au lancement ?
qu subsidiare : il semble que cela pose pb d'avoir nomm=E9 sa machine =
(mephisto dans mon cas) : on ne sait jamais si on est sur localhost ou =
mephisto : comment faire pour etre tjs avec mephisto ?=20
- si je lance une commande mysql, il me dit que le user@localhost ne =
peux pas faire ceci ou cela.
- si je me connecte avec mysqlcc, je vois 2 serveurs : localhost =
(inaccessible) et mephisto (en lecture simple : je ne peux rien cr=E9er =
dedans, ni user, rien)
Le vendredi 15 octobre 2004 à 14:59 +0200, CARUANA J-P Ext ROSI/SIFAC a écrit :
bonjour,
Hlo
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
j'ai fait : # emerge -v unmerge mysql # emerge -v mysql
mais au moment de lancer la config, il me signale que j'ai déjà insta llé mysql auparavant (et tous les droits, tables et autres sont conserv és). J'avais essayé de les trouver, mais impossible de mettre la main d essus dans /var.
Quels fichiers effacer pour repartir à 0 ? Sinon, qques conseils pour bien configurer mysql au lancement ?
qu subsidiare : il semble que cela pose pb d'avoir nommé sa machine (me phisto dans mon cas) : on ne sait jamais si on est sur localhost ou mephist o : comment faire pour etre tjs avec mephisto ?
- si je lance une commande mysql, il me dit que le ne peux pas faire ceci ou cela. - si je me connecte avec mysqlcc, je vois 2 serveurs : localhost (inacces sible) et mephisto (en lecture simple : je ne peux rien créer dedans, ni user, rien)
-- Romain GAILLEGUE
-- mailing list
Le vendredi 15 octobre 2004 à 14:59 +0200, CARUANA J-P Ext ROSI/SIFAC a
écrit :
bonjour,
Hlo
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
j'ai fait :
# emerge -v unmerge mysql
# emerge -v mysql
mais au moment de lancer la config, il me signale que j'ai déjà insta llé mysql auparavant (et tous les droits, tables et autres sont conserv és). J'avais essayé de les trouver, mais impossible de mettre la main d essus dans /var.
Quels fichiers effacer pour repartir à 0 ?
Sinon, qques conseils pour bien configurer mysql au lancement ?
qu subsidiare : il semble que cela pose pb d'avoir nommé sa machine (me phisto dans mon cas) : on ne sait jamais si on est sur localhost ou mephist o : comment faire pour etre tjs avec mephisto ?
- si je lance une commande mysql, il me dit que le user@localhost ne peux pas faire ceci ou cela.
- si je me connecte avec mysqlcc, je vois 2 serveurs : localhost (inacces sible) et mephisto (en lecture simple : je ne peux rien créer dedans, ni user, rien)
Le vendredi 15 octobre 2004 à 14:59 +0200, CARUANA J-P Ext ROSI/SIFAC a écrit :
bonjour,
Hlo
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
j'ai fait : # emerge -v unmerge mysql # emerge -v mysql
mais au moment de lancer la config, il me signale que j'ai déjà insta llé mysql auparavant (et tous les droits, tables et autres sont conserv és). J'avais essayé de les trouver, mais impossible de mettre la main d essus dans /var.
Quels fichiers effacer pour repartir à 0 ? Sinon, qques conseils pour bien configurer mysql au lancement ?
qu subsidiare : il semble que cela pose pb d'avoir nommé sa machine (me phisto dans mon cas) : on ne sait jamais si on est sur localhost ou mephist o : comment faire pour etre tjs avec mephisto ?
- si je lance une commande mysql, il me dit que le ne peux pas faire ceci ou cela. - si je me connecte avec mysqlcc, je vois 2 serveurs : localhost (inacces sible) et mephisto (en lecture simple : je ne peux rien créer dedans, ni user, rien)
-- Romain GAILLEGUE
-- mailing list
Jean-Philippe CARUANA
>>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êu00 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'
>>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êu00
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'
>>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êu00 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'
On 16/10/04 16:04 +0000, Jean-Philippe CARUANA wrote:
As-tu essaye de remplacer mephisto par localhost ?
>>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'enlev er 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êu00 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'
On 16/10/04 16:04 +0000, Jean-Philippe CARUANA wrote:
As-tu essaye de remplacer mephisto par localhost ?
>>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'enlev er
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'
On 16/10/04 16:04 +0000, Jean-Philippe CARUANA wrote:
As-tu essaye de remplacer mephisto par localhost ?
>>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'enlev er 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êu00 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'
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: '' (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êu00 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'
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êu00
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'
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: '' (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êu00 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'
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: '' (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'enl ever >> >>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êu00 >>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/ >> >>-- >> mailing list > >
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'enl ever
>>
>>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
>
>
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: '' (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'enl ever >> >>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êu00 >>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/ >> >>-- >> mailing list > >