Jump to content

permission denied creating new user in jasperserver database


sjongenelen

Recommended Posts

 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

  • 3 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...