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

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

2022-03-03 Thread Kevin Downey
That is a message from MySQL, not next.jdbc. MySQL allows you to grant permissions to a user base on the host they are connecting from so permission denied kinds of errors include the username and the host the users connection came from. On Thu, Mar 3, 2022, 11:18 Lawrence Krubner wrote: > I

Why is next.jdbc using my IP address?

2022-03-03 Thread Lawrence Krubner
I just wrote a small app that needs to connect to a MySQL app. I was running it on my laptop, connecting to MySQL on the laptop, and everything was working fine. Then I wanted to connect to one of our test databases in RDS in AWS. I've a simple function that finds the environment variables and