Open GoogleCodeExporter opened 9 years ago
Thanks for reporting this. I will make the change in the repo.
Original comment by calvinlo...@gmail.com
on 22 Oct 2009 at 6:35
I have an issue with the latest sqlbuddy where my user is 'user'@'%' with all
privileges. sqlbuddy is logging my on as 'user'@'localhost' which is fine, but
is
not giving create user privilege.
Is this the same issue or should I report it separately?
Using mysql remotely allows my user to create other users so privileges are
correct.
This is with SQLBuddy-1.3.2 and MySQL-5.0.90 on WinXP.
Original comment by russell....@gmail.com
on 12 Apr 2010 at 8:02
Just tried your fix (at 251 in my users.php) and it doesn't work for the '%'
case. Any
suggestions I can try to fix this?
Original comment by russell....@gmail.com
on 12 Apr 2010 at 8:10
I've changed the query to
$checkSql = $conn->query("SELECT `Grant_priv` FROM `user` WHERE (`Host`=(SELECT
SUBSTRING_INDEX(USER(), '@', -1)) OR `Host`='%') AND `User`=(SELECT
SUBSTRING_INDEX(USER(), '@', 1)) LIMIT 1");
And that seems to work for me now.
Original comment by russell....@gmail.com
on 12 Apr 2010 at 8:31
Original issue reported on code.google.com by
brian.cline
on 19 Oct 2009 at 6:26