sjongenelen Posted March 16, 2011 Share Posted March 16, 2011 I was wondering can i create a new user in the jasperserver database? Im using mysql and connection with jasperdb@localhost and the matching password.. i need this user so i can quickly query which reports use which SQL query so i can locate these reports and edit them!Code:CREATE USER 'readonly'@'%';GRANT USAGE ON *.* TO 'readonly'@'%' IDENTIFIED BY 'password';GRANT SELECT ON *.* TO 'readonly'@'%';GRANT SHOW DATABASES ON *.* TO 'readonly'@'%';GRANT SHOW VIEW ON *.* TO 'readonly'@'%'; Link to comment Share on other sites More sharing options...
sjongenelen Posted April 4, 2011 Author Share Posted April 4, 2011 Hmm, so to work around this, i've replaced the default MySQL engine with a newer one, overwritten root user password with mysqladmin and thus gaining control over the database engine. howver, i hope this will not affect future update of JS wich perhaps use the root credentials.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now