I have a database for a game server and another one for web. I would like to call a procedure which take a data from a table of the web database.
I have seen many examples like this 'db1.dbo.table_name' but I don't know what is dbo (Data Base Owner ?)
Here is my actual procedure
CREATE DEFINER=`root`@`localhost` PROCEDURE `donationCheck`()
BEGIN
UPDATE `gameserver.players` SET `donatorlvl` = (SELECT `grade` FROM `web.donations` as dona WHERE dona.steamid = player.playerid) where steamid = '76561198125956777';
END
The error is that gameserver.web.donations does'nt exists (normal); Sorry for my bad english.