I had the same problem as above and i grant the permissions and flush privileges as well. But no luck.

Is it required to enable the log-bin on the mysql server.

Please advice