when are you getting the error:
The user specified as a definer ('root'@'localhost') does not exist.
Testing the connection? or in the web browser when testing a page?
if when testing a page, what is the URL in the address bar?
if when testing the connection, what is the URL PRefix in the site settings for the testing server?
is your screen shot of navicat showing your local mysql database? or a remote mysql database?