GRANT SELECT, INSERT, DELETE, UPDATE, SHOW VIEW ON sw.* TO 'sw'@'localhost' IDENTIFIED BY 'sw';