• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database not found ...

 
Araujo Guntin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ...
I got the following error:
SQLException: Database not found or no system permission.
My user and password are rigth. but I where type the database path? if the url is:
"//website:1533/maq:INFORMIXSERVER=website;user=maquser;password=lalala;
My database is /apm/bd
hosts=website
port=1533
dbname=maq
bdserver=website
user=maquser
pass=lalala
When I change
bdname=/apm/bd/maq
then I got the following error:
java.sql.SQLException: Server does not support GLS variables DB_LOCALE, CLIENT_LOCALE or GL_DATE.
Regards
 
Blake Minghelli
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we connect to our ifx db, the dbname is a single name, i.e. not a path like it looks like you're trying to do.
What version of Informix are you using?
 
Araujo Guntin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Blake and Tina
I use Informix SE 7.1. This not support GLS.
Then, where I put the database path.
I use DriverManager.getConnection() Method.
thank
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic