SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='traxequipment' AND TABLE_NAME = 'redirects'

Access denied for user 'www-data'@'localhost' (using password: NO)