Query failed : SELECT command denied to user 'mwnet'@'localhost' for table 'device'