I did not tweak the default database path , I guess it should be in ’C:\ProgramData\osquery\…’. Just before installing 3.4.0 , v3.3.2 osquery was running on that machine. I didn’t want to restart it coz I want to understand the root cause otherwise I might encounter this issue again in future.
I’ve configured it as a service manually and executable is placed in a custom directory.