We had the same problem on Portal 2.7.
It has to do with your database permissions. Try logging into your database as root.
Make sure you set the password for the user:
SET PASSWORD FOR portal@localhost=PASSWORD(â€˜passwordâ€™);
replacing password as the password.
GRANT ALL PRIVILEGES ON jbossportal.* TO 'portal'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
if you are using portal as the user, and replacing password with your password in your datasource xml config file.