I am constantly getting abuse from azure, amazon, digital ocean cloud.
x.x.x.x is blocked because of many connection and unblock with 'mysqladmin flush-hosts'
Do you mean you do not want ANY connections from those sources?
This is shared web server, so I need to allow what ever else is not being abused at that time.
You mention "abuse" which makes me think that these are not legitimate connection attempts and Maria is only blocking them after they have tried NN times and failed.
That sounds like you have port 3306 open to the internet, which is generally considered a Very Bad Thing. (As it is for any port you don't need the random internet to connect to)
I know, but 3306 is not exposed. It are the websites being abused, as in not following robots.txt standard etc. Some mild form of dos.
I would suggest you close this port to the internet immediately. If you do need connections from the internet, then adjust your firewall to restrict it to accept connections from them explicitly.
Apologies if I'm misinterpreting this, but if the above is true then I also suggest you review your basic computer security.
:) no worries. Unfortunately my security is of that level, that simple minded web developers have problems with it and take their hosting somewhere else.