vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello everybody I used SQLConnect() in my linux cli application to connect to a datasource. But I get this Error SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031 I did a research on the net but didn't find anything that would help me. I already recataloged the database. I ensured that the file sqldbdir is readable to everyone. Other Applications connect to this DB an use it without any problems. I run my cli app locally on the server. But SQLDataSources() is able to lists all Databases. My cli code is called out of a java stored procedure. Maybe someone can see what I missed? Thank you very much. |
| ||||
| When I execute the very same methods using a simple java program, it works correctly. It fails to find the database directory only if the code is used by a stored procedure. Any help is appreciated. |