dashboard data connection to MySQL