This content has been marked as final.
Show 4 replies
-
1. Re: Switching JBossPortal to MySQL from hypersonic.
rutfield Aug 19, 2006 10:07 AM (in response to andrewboyd)
From within MySQL (logged in with admin privileges), you should
GRANT ALL ON jbossportal.* TO 'portalUser'@'%' IDENTIFIED BY 'portualUser_password';
(where the last parameter is the password for portalUser)
and then
GRANT ALL ON jbossportal.* TO 'portalUser'@'localhost' IDENTIFIED BY 'portualUser_password';
Finally, you need to
Flush privileges;
before you exit MySQL for them to take affect.
I hope that helps.
CR -
2. Re: Switching JBossPortal to MySQL from hypersonic.
andrewboyd Aug 21, 2006 10:17 AM (in response to andrewboyd)Thanks for the quick reply CR. Your suggestion is getting me closer.
Now I keep getting the following:10:11:00,437 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 01004 10:11:00,437 ERROR [JDBCExceptionReporter] Data truncation: Data too long for column 'MODIFIABLE' at row 1 10:11:00,453 ERROR [PortletAppDeployment] Error when creating instances org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.portal.core.impl.model.instance.InstanceImpl]
Any ideas?
Thanks,
Andrew -
3. Re: Switching JBossPortal to MySQL from hypersonic.
rali.genova Aug 21, 2006 11:03 AM (in response to andrewboyd)Did you read this page? http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors
-
4. Re: Switching JBossPortal to MySQL from hypersonic.
andrewboyd Aug 22, 2006 8:25 AM (in response to andrewboyd)Perfect! Thanks rali.