Just leaving a note here for others who have the same problem:
My situation:
- had mysql5.7 earlier and uninstalled it to install mariadb
- Current OS Ubuntu 16.04
- had followed ‘Manual Install’ method to install bench
- was repetedly getting the
'Please add this to MariaDB's my.cnf and restart MariaDB before proceeding'
error even after doing so.
Solution for my situation:
Added Password to '/etc/mysql/debian.cnf'
(after a spending 2 day on the problem)
My guess on why it worked:
i guess bench gives that same error for all database related issues… So, there was some other underlying problem (relating to upgrade) which was giving an error.
i guess the error was related to this screenshot: (sorry, i only have a screenshot of the error)