Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

:qMacOS: Error: Failed to initialize log. No logging is enabled: [Errno 13] Permission denied: '/Users/snowsql_rt.log_bootstrap'

I have downloaded and installed SnowSQL onto my Mac.

After entering the following command

snowsql -a zx12334 -u someone

I am getting the following error

Failed to initialize log. No logging is enabled: [Errno 13] Permission denied: '/Users/snowsql_rt.log_bootstrap'

Any idea how I could fix it?

In my config file, I have enabled log_file = ../snowsql_rt.log. It does so automatically by installer.

like image 905
CarlosX2X Avatar asked Dec 14 '22 07:12

CarlosX2X


1 Answers

In your config file (~/.snowsql) you need to modify this line:

log_file = ../snowsql_rt.log

to this:

log_file = ~/.snowsql/snowsql_rt.log
like image 130
Sergiu Avatar answered Jan 14 '23 03:01

Sergiu