"Internal server error" when my.cnf bind address changed to public ip


I want to bind address as my public ip. But I changed in the file my.cnf and it goes internal server error. how to bind the address as public ip

The mysql server should NOT be on the public IP [this is a big security risk], only on localhost (