Bitcoind with -txindex=1 still no mempool transactions I'm reading through Mastering Bitcoin and trying to follow along the examples. 

When I first initialized bitcoind, I set txindex=1 in my bitcoin.conf file. In a later example I was unable to getrawtransaction which failed with the error No such mempool transaction. I re-ran bitcoind with the -txindex=1 and -reindex flags, which took a few hours. 

However I'm still unable to getrawtransaction, which again fails with the same error. 

Have anyone experienced the same issues? Perhaps there is something else that needs to be done for this to work in v0.16.0?

Any advice would be appreciated. Thanks.

Edit 1:

~/Library/Application Support/Bitcoin/bitcoin.conf:

txindex=1


~/Library/Application Support/Bitcoin/debug.log:

Dropbox link
According to your debug.log file, txindex is not enabled:

2018-04-22 20:40:34 LoadBlockIndexDB: transaction index disabled


This indicates that your bitcoin.conf is incorrect. Make sure that your bitcoin.conf file's full filename is actually bitcoin.conf (not bitcoin.conf.txt or with some other extension).