I have a debian jessie box and i installed a debian jessie debootstrap namespace. I install the mysql service inside the jail and i get error when i try to start the mysql service. How can fix this?

/usr/bin/mysqladmin: connect to server at '' failed error: 'Host '' is not allowed to connect to this MySQL server'

Thanks in advance.


You need to create an account in MySQL for a user at that IP, or even the enstire subnet, for example:

CREATE USER 'user'@'10.10.20.%' IDENTIFIED BY 'somePassword';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.