pgmoon icon indicating copy to clipboard operation
pgmoon copied to clipboard

cannot connect to postgresql

Open thoughtworks-caihu opened this issue 4 years ago • 1 comments

image

lua version : Lua 5.4.3 Copyright (C) 1994-2021 Lua.org, PUC-Rio

thoughtworks-caihu avatar Nov 02 '21 09:11 thoughtworks-caihu

mime is a library provided by LuaSocket that provides base64 encoding and decoding.

Depending on the environment you're running it in, you will need to provide some kind of socket library as outlined in the readme:

  • OpenResty — The built in socket is used, no additional dependencies necessary
  • LuaSocketluarocks install luasocket
  • cqueuesluarocks install cqueues

Can you tell me how you're trying to use pgmoon? I notice now that if you've only installed cqueues then no base64 implementation would be available and that's an oversight on my end.

leafo avatar Dec 28 '21 20:12 leafo