question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't connect to oracle XE

See original GitHub issue

I am using Windows 10 and latest dbeaver CE.

I get this error when connecting to local XE service:

java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: Cannot access NLS data files or invalid environment specified

This is specific to Dbeaver, sqlplus and SQL Developer can connect without any problems. This connection worked on older versions of EE, I didn’t touch it 6 or so months.

NLS_LANG is checked and it seems OK (otherwise SQL Developer would complain too).

Any ideas ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
habamaxcommented, Nov 17, 2017

for me dbeaver.exe -nl en solves the issue

2reactions
bokanebocommented, Jun 23, 2017

I faced the same problem on brand new Win 10 with ODAC installed as the only one component from Oracle. Yesterday, I changed regional setting on that computer. So remembering that, I changed back date/time/num format from Serbian to English and everything is working fine. Additional info: Set English format and start DBeaver. All your connections to Oracle will work until you restart DBeaver even if you change format during that session.

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Connecting to Oracle Database XE
These commands connect you to the root container CDB$ROOT of the multitenant database (CDB) as database user SYS . This method of connecting...
Read more >
Can't connect to Oracle Express Edition - Stack Overflow
1 Answer 1 ... Add an exception for port 1521 and port range (32768-65536) for the firewall on the database server, this is...
Read more >
How To CONNECT With Oracle Database EXPRESS EDITION ...
Learn how to connect with Oracle Database express edition ( Oracle XE ) in different ways like - using SQL Developer, SQLPLUS, TNS...
Read more >
Connection error to an Oracle XE database - TNS:co...
Connection error to an Oracle XE database - TNS:could not resolve the connect identifier specified · Navigate to Control Panel > System ·...
Read more >
Unable to connect to an Oracle XE database from another PC ...
Any firewalls on your Oracle server? · I typed in service iptables stop just to be sure, but that didn't change anything. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found