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

'Locale not recognized' error when trying to connect via db client #104

Open
ademilhan041 opened this issue Aug 17, 2018 · 0 comments
Open

Comments

@ademilhan041
Copy link

I'm trying to connect the oracle db via DBeaver client. I filled db information as you said and added ojdbc8 as a driver. When I test connection, I get 'Locale not recognized' error.

hostname: localhost
port: 49161
sid: xe
username: system
password: oracle

To fix this, I created new image as in below:

# Dockerfile
FROM wnameless/oracle-xe-11g

RUN apt-get clean && apt-get update && apt-get install -y locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8  
ENV LANGUAGE en_US:en  
ENV LC_ALL en_US.UTF-8 

But still I get same error. Do someone know why?

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

1 participant