Fixed mysql_command.
Add refresh interval in graphs.