127.0.0.1 vs localhost in scripts

Hi
As mysql connection to localhost (socket) is not available in jailkit chrooted environment, I think it is a good idea to set ‘127.0.0.1’ as default dbhost in third party scripts installations. Like wordpress.pl or roundcube.pl.

Regards
Dimitar
Terrahost