Installation

load-OPL-global-statistics.pl assumes local database

load-OPL-global-statistics.pl assumes local database

by Allan Metts -
Number of replies: 0

OPL-update is failing with my new 2.16 WeBWorK installation... right at the end when it is presumably running load-OPL-global-statistics.pl.  I can run the load script directly and get the same error, which is...

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

This behavior didn't happen with 2.15 and seems to be new with 2.16.  It appears that this routine is looking for a local database, which I'm not running (using Amazon RDS instead).   Everything else seems to respect my database settings correctly.

I was able to work around the issue by running OPL_global_statistics.sql directly using the mysql command line.

Is this a bug, or did I overlook a new configuration setting somewhere?