Seems that I was unable to find where the problem is located. But on the Ubuntu system with MySQL configured almost in the same way all works OK 😕