This can happen when you try to access the sql terminal using an un-authorized user. I'd recommend logging in on the "root" sql user and adjusting your "raguser" to have admin level privs.
Access root using:
sudo mysql -u root -p
Grant privs and flush to take effect immediately:
GRANT ALL PRIVILEGES ON ragserver. * TO 'raguser'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON * . * TO 'raguser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
If any command fails, such as '%' is no recognized, there's an alternative option. You can log into MySQL directly from the website as the 'root' user and manually alter the user database to allow your 'raguser' admin access.