Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid - user name #1

Open
phil88530 opened this issue Jun 20, 2013 · 2 comments
Open

Invalid - user name #1

phil88530 opened this issue Jun 20, 2013 · 2 comments

Comments

@phil88530
Copy link

Hi:

I had my config file for netezza setup correctly, which I can connect when test

however, when I run it in jruby on rails, with its setup, its getting:

ActiveRecord::JDBCError: The driver encountered an unknown error: org.netezza.error.NzSQLException: Invalid - user name

@robbkidd
Copy link
Owner

Hi, @phil88530!

In what way are you connecting "when test"? When running a rails console in your development environment?

What do you mean by "run it in jruby on rails"? Do you mean your production environment? If so, by what means are you running your Rails app in production? With a warbler-packaged JAR file? Trinidad? Torquebox? Something else?

@phil88530
Copy link
Author

Dear Rob:

Basically, I didn't run it in production mode, because we have a netezza db for development mode as well.

So I created a new jruby on rails project, putted your activerecord-netezza-adapter into the gemfile, and had my database.yml setup.

Of course, to connect netezza, I've also downloaded my netezza driver which I've run and able to connect to the database using the same db details.

However, when I run in rails, the above error shown up and tells me that I can't connect because of invalid username.

I can now connect to netezza using your bralliant active record-jdbc-adapter though, so I just wanted to report to you that the netezza adapter doesn't work on mine.

Hope I explained it.

Cheers
Phil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants