This can be set in your php.ini file; note that some systems use different
configuration files for Apache module, CGI, and command-line PHP. Check the
output of phpinfo() or php -i for a dump of configuration info including the
path to php.ini and the current values of all settings.
-- brion
On Jan 10, 2011 8:27 PM, "Joe Carbone" <joe-carbone(a)live.com> wrote:
I am using a custom php and mysql installation and custom configurations
on top of
that for each instance set ...
When running a maintenance script, such as runJobs.php, I get an error:
DB connection error: Can't connect to local MySQL server through socket
'/opt/mysql/var/lib' (111) (localhost)
The
DB for this wiki is actually running out of /tmp/mysql.sock and this is
set in LocalSettings.php, but all the maintenance scripts still want to
use the default socket path of my custom php installation and custom
mysqld installation.
I even tried to do a runJobs.php --conf /www/mywiki/LocalSettings.php and
still
gave the same error ?
Is
there anyway to force the socket location for this, such as a
MYSQL_SOCK system variable or something like that (I am using linux) ?
Thanks.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l