Modified IDatabaseConnection and mysql implementation

Signed-off-by: aurel <aurel.savoiu@cti.pub.ro>