Gentoo Archives: gentoo-dev

From: Jeffrey Forman <jforman@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Bugzilla Bug #109301 dev-db/mysql-4.1.14 stable request.
Date: Wed, 19 Oct 2005 13:32:08
Message-Id: 43564A6B.20801@gentoo.org
In Reply to: Re: [gentoo-dev] Bugzilla Bug #109301 dev-db/mysql-4.1.14 stable request. by Petre Rodan
1 Petre Rodan wrote:
2 > is that
3 > grant all privileges on 'DB'.* to 'user'@'localhost' identified by 'password';
4 > deprecated in 4.1?
5 > because it inserts the line in mysql.users, but authentication is impossible :/
6 >
7 > I had to use this syntax to get things going:
8 >
9 > GRANT USAGE ON *.* TO 'user'@'localhost' IDENTIFIED BY 'password' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
10 >
11 > GRANT ALL PRIVILEGES ON `DB`.* TO 'user'@'localhost';
12 >
13 > maybe it would be a Good Thing(TM) to add this to the upgrade document?
14 >
15
16 Peter,
17
18 After adding a person with the grant option, one must usually 'flush
19 privileges' to update all the tables and allow the person access.
20
21
22 -Jeffrey
23
24 --
25
26 ---------------
27 Jeffrey Forman
28 Gentoo Infrastructure
29 Gentoo Release Engineering
30 bugs.gentoo.org Administrator
31 jforman@g.o
32 ---------------
33 --
34 gentoo-dev@g.o mailing list

Replies