Step to reproduce:

1. Stop mysql server:
  sudo /etc/init.d/mysql stop

2. Move debian maintainer config file (to be able to trigger a reconfigure):
 sudo mv /etc/mysql/debian.cnf /etc/mysql/debian.cnf.old

3. Set sql-mode to STRICT_ALL_TABLES in mysqld section of /etc/mysql/my.cnf:
[mysqld]
...
 sql-mode =  STRICT_ALL_TABLES

4. Reconfigure mysql-server-5.0 package:
 sudo dpkg-reconfigure mysql-server-5.0

Result: 
  /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access 
denied for user 'debian-sys-maint'@'localhost'

Expected result:
  no message.

** Summary changed:

- mysql-server-5.0 fails without (sane) warnings if STRICT_ALL_TABLES is in 
effect
+ mysql-server-5.0 postinstall script fails without (sane) warnings if 
STRICT_ALL_TABLES is in effect

-- 
mysql-server-5.0 postinstall script fails without (sane) warnings if 
STRICT_ALL_TABLES is in effect
https://bugs.launchpad.net/bugs/71651
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to