Hello Roman, Thank you for your answer, it worked from a command line point of view and from cacti as well. But the perconna script says for the --host option, use :/path/to/socket if you want to connect via a UNIX socket   $ php scripts/ss_get_mysql_stats.php -h Required option --host is missing Usage: php ss_get_mysql_stats.php --host --items [OPTION]    --host      Hostname to connect to; use host:port syntax to specify a port                Use :/path/to/socket if you want to connect via a UNIX socket    --items     Comma-separated list of the items whose data you want    --user      MySQL username; defaults to cacti if not given    --pass      MySQL password; defaults to Cacti1234 if not given    --heartbeat MySQL heartbeat table; defaults to '' (see pt-heartbeat)    --nocache   Do not cache results in a file    --port      MySQL port; defaults to 3306 if not given    --mysql_ssl Enable SSL support for MySQL connection Regards >________________________________ > De : Roman Vynar