Re: Clojure-Asia February 2022 Online meetup

2022-03-04 Thread Zack Teo
A bit delayed but if anyone is interested, here's the link to Paul S Chun talk - *Navigating Maps: Different Map Functions in Clojure* :) https://www.youtube.com/watch?v=HYv-gxDfRGo=1s On Thursday, February 24, 2022 at 9:39:17 PM UTC+8 Zack Teo

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Sean Corfield
> Okay, this seems to have to do with characters acting as wildcards in the password itself. This is in the .env file: I don't know what library you are using for managing your configuration but perhaps it interprets $n as an environment variable called n and substitutes the value (which will be

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Cora Sutton
And also change your password now. On Fri, Mar 4, 2022 at 8:09 AM Orestis Markou wrote: > You might need to quote the string with single quotes, otherwise bash will > probably try and interpolate a var `$n`... > > > On 4 Mar 2022, at 15.58, Lawrence Krubner wrote: > > Okay, this seems to have

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Orestis Markou
You might need to quote the string with single quotes, otherwise bash will probably try and interpolate a var `$n`... > On 4 Mar 2022, at 15.58, Lawrence Krubner wrote: > > Okay, this seems to have to do with characters acting as wildcards in the > password itself. This is in the .env file: >

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Lawrence Krubner
Okay, this seems to have to do with characters acting as wildcards in the password itself. This is in the .env file: vvv*8Ezr30R%$n?L5! but printlin in the Clojure code outputs: vvv*8Ezr30R%?L5! The "$n" simply vanishes. Why is that? This is not a regular expression. I didn't think plain

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Lawrence Krubner
So, as a new way to test this, I've ssh'ed to an EC2 instance that is in the same VCP as the RDS database. I upload my jar file so I can run it on this EC2 instance. println the hash map at startup: {:dbtype mysql, :dbname pulsedata, :user pulseuser, :password , :host

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Orestis Markou
The error message indicates that you connect with user `pulseuser` - is that the expected user? I would print out the configuration that you’re passing in to jdbc.next to be absolutely certain it contains the values you expect it does. When you say “cli”, do you mean a mysql client? Double

Re: Why is next.jdbc using my IP address?

2022-03-04 Thread Lawrence Krubner
But, again, I can connect from the cli using my terminal. I'm using my Spectrum connection to the Internet in both cases. If I run the app on my laptop, or I connect from the terminal, using the CLI, then in all cases I'm connecting over my Spectrum connection to the Internet. If MySQL was