I just had to tell you these informations, I do not use mysql but mariadb as Debian9 standard introduces. So, the development files upon the code was compiled are these:
libmariadbclient-dev-compat/stable,stable,now 10.1.26-0+deb9u1 amd64 2017-11-06 10:32 GMT+01:00 Tobias Brunner <tob...@strongswan.org>: > Hi Giuseppe, > > > ipsec pool --replace net1_pool --addresses /etc/ipsec.pools > > preparing MySQL statement failed: Commands out of sync; you can't run > > this command now > > deleting pool failed. > > I think the problem is that there are two commands executed overlapping > on the same connection (prepared statement to check if the pool exists > and the deletion of that pool). Apparently, the MySQL client doesn't > like that. I pushed a fix for it to the pool-replace-mysql branch [1]. > > Regards, > Tobias > > [1] > https://git.strongswan.org/?p=strongswan.git;a=shortlog;h= > refs/heads/pool-replace-mysql >