WordPress Theme Customize doesn’t save changes

Damn, the error was pretty intuitable: most tables in my database lacked of AUTO_INCREMENT

Since ID is not defined in the INSERT query, it will be 0 unless AUTO_INCREMENT is setted to ID.

So I just fixed it by setting AUTO_INCREMENT

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)