Skip to content

#getting Informix::DatabaseError Incorrect password or user informix@[myservername] is not known on the database server. #6

@wasimwaqia

Description

@wasimwaqia

Hello, I am trying to build a sample app with the stores demo database, I get the error "Informix::DatabaseError
Incorrect password or user informix@[myservername] is not known on the database server."

I am able to connect to the server using irb and query data, however am unable to create any views using the gem 'ruby-informix', '~> 0.8.3'
my database.yml config is

adapter: informix
#server: my_servername
database: stores
username: informix
password: informix
require 'informix'
db=Informix.connect('stores', 'informix', 'informix')

is it possible to force the login with only the username rather than user@servername

I have also checked all my config and I can connect to the server using isql .

Thank you .

Screenshot 2023-04-08 at 3 21 28 AM

Screenshot 2023-04-08 at 3 21 51 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions