Edit report at https://bugs.php.net/bug.php?id=60133&edit=1
ID: 60133 Updated by: johan...@php.net Reported by: rendszergazdak at dotroll dot com Summary: force_tcp and force_hostname support -Status: Open +Status: Bogus Type: Feature/Change Request Package: MySQL related Operating System: All PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: We won't add this as a core feature. Instead of patching the code I'd suggest creating a mysqlnd plugin similar to what I described in my blog on http://schlueters.de/blog/archives/146-mysqlnd-plugins-for-PHP-in-practice.html Previous Comments: ------------------------------------------------------------------------ [2011-10-25 15:08:44] rendszergazdak at dotroll dot com Description: ------------ For hosting providers it is a constant issue to move users around a cluster. Since most users and common CMS systems assume "localhost", it would be nice to have an option to force TCP mode instead of the Unix socket and force a hostname, but allow the users to pick a username and password they desire. (That's why MySQL safe mode is no use.) We have created a patch for this issue and would like to see it included in PHP. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60133&edit=1