You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Jamel Meslamani <j....@yahoo.fr> on 2008/10/13 12:57:03 UTC
Cant update my database anymore
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?
Re: Cant update my database anymore
Posted by Øystein Grøvlen <Oy...@Sun.COM>.
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
Re: Cant update my database anymore
Posted by Valentin Cozma <vc...@elfyard.com>.
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?
>
>
read only file system, wrong file permissions.