Access denied for user 'root'@'localhost' to database SOMEDB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When I try to give my user xy rights to database xy I receive the access denied message:
mysql> CREATE USER 'testdb1'
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT USAGE ON * . * TO 'testdb1'
Query OK, 0 rows affected (0.00 sec)
mysql> CREATE DATABASE `testdb1` ;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON `testdb1` . * TO 'testdb1'
ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'testdb1'
I restored the complete database from an mysql-server-5.0 5.0.32-7etch12 which I created with
mysqldump --comments --routines --opt --all-databases --flush-logs --user=
I searched the web and found only this two reports which the same problem, but without an solution:
http://
http://
But I think it is an bug in mysql, because I should handle it correctly
ProblemType: Bug
Architecture: amd64
Date: Sat Mar 20 10:36:14 2010
DistroRelease: Ubuntu 10.04
Logs.var.
Logs.var.
Mar 16 22:28:46 s01 kernel: [298533.765967] type=1505 audit(126877852
Mar 16 22:28:46 s01 kernel: [298533.953508] type=1505 audit(126877852
Mar 18 07:31:05 s01 kernel: [ 15.121192] type=1505 audit(126889386
MySQLVarLibDirL
Package: mysql-server 5.1.41-3ubuntu7
PackageArchitec
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: mysql-dfsg-5.1
Uname: Linux 2.6.32-16-generic x86_64
EDIT: Changed private DB names from MySQLVarLibDirL
description: | updated |
Changed in mysql-dfsg-5.1 (Ubuntu): | |
status: | Incomplete → Invalid |
Can you attach your /var/log/ daemon. log, please?
Thanks
chuck