Mysql error 1064, granting privileges
Try to escape dash using the backticks like

GRANT ALL PRIVILEGES ON `bivv-acc`.* TO 'bivv-acc'@'localhost';


Check the manual which says:


  If an identifier contains special characters or is a reserved word,
  you must quote it whenever you refer to it.
  
  ...
  
  The identifier quote character is the backtick ("`")