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