Remove connection to MySQLdb in ap_monitor.py