Hello
I created a view based on a SELECT statement but when I go and alter the view I see all this “extra stuff” added to the top as shown below.
Why does this stuff get added?
Also, if I dump the whole db to .SQL file on import on another host I get an error “Error Code: 1449 – The user specified as a definer ('web110-gtc'@'%') does not exist”
Thanks Paul
Code:
DELIMITER $$
USE `web110-gtc`$$
DROP VIEW IF EXISTS `vw_FinanceDashboard`$$
CREATE ALGORITHM=UNDEFINED DEFINER=`web110-gtc`@`%` SQL SECURITY DEFINER VIEW `web110-gtc`.`vw_FinanceDashboard` AS (
SELECT…