Upgrade your Anope installation, 1.7.13 is very old and bug ridden.
Even with 1.8.3 (latest stable) you can only dump to MySQL during normal usage, you cannot write to this database from outside of Anope and expect Anope to care/notice.
For this you simply upgrade your installation and configure the MySQL options within services.conf.
From 1.7.13 however you will be best rewriting your services.conf from the example provided.