DBManager: Survive Mysql 5.6.

mysqld 5.6 has removed support for several options that were obsoleted
in MySQL 5.1.29. Use the new options instead with recent MySQL.
Merge branch 'patches/bug6126' into devel

* patches/bug6126:
  DBManager: Survive Mysql 5.6.