Opened 3 years ago

Closed 3 years ago

#2047 closed Bug (fixed)

DBStats: mysql_connect() dependency

Reported by: vipsoft Owned by:
Priority: normal Milestone: Piwik 1.2
Component: Core Keywords:
Cc: Sensitive: no

Description

If the mysql extension doesn't exist, API.php's getDBStatus() fails. (This is more apparent when the DBStats plugin is enabled and you run all_tests.php.)

Change History (1)

comment:1 Changed 3 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [3810]) fixes #2047 - p.s. the only workaround I can think of to get the "Opens" and "Queries per second avg" stats would be to pipe and parse the STATUS output from command line clients (i.e., mysql / mysqladmin)

Note: See TracTickets for help on using tickets.