create database if not exists apidb; grant all on apidb.* to 'wineowner'@'localhost';