Jamel Meslamani wrote:
Dear all,
I am using Derby10..3 with a chemical program JChem to update my database. But now, I am facing this problem when I try to add more structures. Error that I get is :
ERROR 25502: An SQL data change is not permitted for a read-only connection,
user or database.
With ij, I've tried these commands but no changes:
ij> connect 'jdbc:derby://MyLocalhost:1527/MyChemicalDB;';
ij> CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
'derby.database.sqlAuthorization','true');
ERREUR 25502 : Une modification des donnees SQL n'est pas autorisee pour une connexion, un utilisateur ou une base de donnees en lecture seule.
ij> CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(
'derby.database.fullAccessUsers','test');
ERREUR 25502 : Une modification des donnees SQL n'est pas autorisee pour une connexion, un utilisateur ou une base de donnees en lecture seule.
How Can I modify the database rights, to be able to update it?



I think full disk will give this symptom. Please, check derby.log to see if it contains any warning about setting the database in read-only mode.

--
Øystein

Reply via email to