Skip to Main Content

SQLcl

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Should historylog really be read when -nohistory is supplied?

On windows I get an error when starting SQLcl
WARNING: Failed to load history
java.nio.file.AccessDeniedException: C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\sqlcl\history.log

I see no way to specify where the file shoudl be created.

There is however a parameter -nohistory for which the helps says “Switch off history logging.”.

To me using that ought to result in history not being read. Though it could be argued that one could have acce3ss to history while not writing more.

Any idea for how to suppress the error message.

This is on a DevOps environment where everything is new so I cannot fix it so it works next time.

Comments
Post Details
Added on May 21 2025
0 comments
55 views