/build/static/layout/Breadcrumb_cap_w.png

What user can i use to make a SQL update?

I am trying to do this:


select * from ASSET where name ='XXX'
select * from ASSET_STATUS
select * FROM ASSET LEFT JOIN ASSET_STATUS ON ASSET_STATUS.ID = ASSET.ASSET_STATUS_ID

update ASSET set ASSET_STATUS_ID = '500' where name ='XXXX'


But I have this error:


UPDATE command denied to user 'R1'@'XX.XX.XX.XXX' for table 'ASSET'


Any solution?


Thanks


1 Comment   [ + ] Show comment
  • R1 is the reporting user, it's for read only purposes.

    You need to create a custom ticket rule and run your sentence there, watch out when using UPDATE, DELETE or NEW commands, they may render the whole KBOX unstable if it's not used with caution. - Channeler 5 years ago

Answers (1)

Posted by: Hobbsy 5 years ago
Red Belt
2

on behalf of my colleague "Channeler" who is clearly too modest to suggest that he may have actually solved the customer's issue ;o)

R1 is the reporting user, it's for read only purposes.


You need to create a custom ticket rule and run your sentence there, watch out when using UPDATE, DELETE or NEW commands, they may render the whole KBOX unstable if it's not used with caution.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ