1 |
On 16/10/04 16:04 +0000, Jean-Philippe CARUANA wrote: |
2 |
|
3 |
As-tu essaye de remplacer mephisto par localhost ? |
4 |
|
5 |
> >>suite à une (très) mauvaise config de mysql (je me retrouve bloqué au |
6 |
> >>niveau des droits, |
7 |
> >>n'arrive plus à me connecter meme avec root), j'ai décidé d'enlever |
8 |
> completement mysql pour |
9 |
> >> repartir à 0, sur des bases saines |
10 |
> |
11 |
> >rm -rf /var/lib/mysql |
12 |
> |
13 |
> merci, c'est nickel ! |
14 |
> |
15 |
> par contre, pour l'install, je dois faire |
16 |
> |
17 |
> bash-2.05b# ebuild |
18 |
> /var/db/pkg/dev-db/mysql-4.0.20-r1/mysql-4.0.20-r1.ebuild config |
19 |
> * Press ENTER to create the mysql database and set proper |
20 |
> * permissions on it, or Control-C to abort now... |
21 |
> |
22 |
> Preparing db table |
23 |
> Preparing host table |
24 |
> Preparing user table |
25 |
> Preparing func table |
26 |
> Preparing tables_priv table |
27 |
> Preparing columns_priv table |
28 |
> Installing all prepared tables |
29 |
> |
30 |
> PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! |
31 |
> To do so, start the server, then issue the following commands: |
32 |
> /etc/init.d/mysql start (you have to start the server first!) |
33 |
> /usr/bin/mysqladmin -u root -h mephisto password 'new-password' |
34 |
> /usr/bin/mysqladmin -u root password 'new-password' |
35 |
> |
36 |
> j'essaye ces commandes, mais voia que j'ai des erreurs : |
37 |
> |
38 |
> bash-2.05b# /usr/bin/mysqladmin -u root -h mephisto password pass |
39 |
> /usr/bin/mysqladmin: connect to server at 'mephisto' failed |
40 |
> error: 'Host 'mephisto.jpnetwork' is not allowed to connect to this |
41 |
> MySQL server' |
42 |
> bash-2.05b# /usr/bin/mysqladmin -u root password ni=eau00 |
43 |
> bash-2.05b# /usr/bin/mysqladmin -u root -h mephisto password pass |
44 |
> /usr/bin/mysqladmin: connect to server at 'mephisto' failed |
45 |
> error: 'Host 'mephisto.jpnetwork' is not allowed to connect to this |
46 |
> MySQL server' |
47 |
> |
48 |
> une idée ? |
49 |
> |
50 |
> -- |
51 |
> Jean-Philippe Caruana |
52 |
> http://enstimac.fr/~caruana/ |
53 |
> |
54 |
> -- |
55 |
> gentoo-user-fr@g.o mailing list |
56 |
> |