Hi folks.
So, many thanks for your advices. I made several signifiant progress and dbexport works now.
But I now have some other problems...
1, REIMPORTING THE DATA
----------------------------
I launch (logged in NT as 'informix' user)
E:\mydb\Informix\bin>dbexport -ss -o c:\mydb mydb
and everything goes obviously fine.
I now have a directory
c:\mydb\mydb.exp
with lots of files (obviously a file per table, and another file with no extension, namely 'mydb', that contains some sql code).
Now, when I try
dbimport -c -i c:\mydb\mydb.exp mydbcopy
I get a 'could not find the sql file'
I tried
dbimport -c -i c:\mydb\mydb.exp\mydb mydbcopy
added '.sql' to the file with no extension, then
dbimport -c -i c:\mydb\mydb.exp\mydb.sql mydbcopy
but none worked.
What am I missing ???
Please note that I want to import the 'mydb' dump in the 'mydbcopy' database.
2, CONNECTING TO THE DATABASE WITH A JAVA CLIENT
-------------------------
I'm using DbVisualizer to browse my database (and occasionnaly, netbeans 5.5 database browser, with the same result).
I have several databases, db1, db2 and db3 on my Informix Dynamic Server.
I can connect without any problem to db1 and db3.
When I try to connect to db2, I got this error message (formated by DbVisualizer)
-------------------------------------------------------
An error occured while executing the database request for:
Informix Dynamic Server
9.40.XX
Informix JDBC Driver for Informix Dynamic Server
XXXXXXXXX
The command that caused the error was:
getTables
Error Details:
Type: java.sql.SQLException
Error Code: -229
SQL State: IX000
Error Message:
Could not open or create a temporary file.
-----------------------------------------
I checked the faq and documentations for this kind of error (-229, could not open..), but what I found always points toward disk space or acces rights.
Since I've got lots of gigs of free space on all my disks, it's probably a problem of access rights...
But db2, so as db1 and db3, is accessed by a J2EE application without any problem, and I can launch a 'dbaccess' on it without any problem.
A little bit weird... why does java client trigger this error on db2 only ?
BTW, it's mentionned in the faqs that Dynamic Server doesn't use the DBTEMP var to choose his 'temp' directory anymore, but it's not specified WHAT directory it then use as a temporary directory.
Again, any help would be more than appreciated !
As a side note, don't worry about the term BDD, it's just a localized accronym for 'database'. My mistake !
