EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

Problem with adding new data bases


Author Message
Written on: 09. 03. 2014 [10:07]
snowboy
saman ahmadi
Topic creator
registered since: 14.09.2013
Posts: 13
Hi Roman

I like to add new data bases (such as vcaBase) to OpenSCADA and don't use AGLKS.
So, I download those from oscada web site and I try to add them to SQLite. There was no problem in adding data bases But when I closed OpenSCADA and opened it again, there wasn't new data base ! I tried it several times but the problem still remained.

I need your help to solve this problem.
Thanks for your attention.

Best Regards
Saman
Written on: 10. 03. 2014 [16:55]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"snowboy" wrote:

I like to add new data bases (such as vcaBase) to OpenSCADA and don't use AGLKS.
So, I download those from oscada web site and I try to add them to SQLite. There was no problem in adding data bases But when I closed OpenSCADA and opened it again, there wasn't new data base ! I tried it several times but the problem still remained.

You do not save new DB object, actually.
Or your configuration broken out and used configuration file unavailable for write access.

Learn, learn and learn better than work, work and work.
Written on: 10. 03. 2014 [21:21]
snowboy
saman ahmadi
Topic creator
registered since: 14.09.2013
Posts: 13

Is it possible to add new DB to OpenSCADA (via SQLite)?
I opened OpenSCADA as "root" user in order to use Db files of Mnemo and Electronic libraries.
I think root user have write permissions. Isn't it?

[This article was edited 1 times, at last 10.03.2014 at 21:22.]
Written on: 11. 03. 2014 [11:28]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"snowboy" wrote:

Is it possible to add new DB to OpenSCADA (via SQLite)?

Yes, possible, read here: http://wiki.oscada.org/HomePageEn/Doc/QuickStart#h995-8

"snowboy" wrote:

I opened OpenSCADA as "root" user in order to use Db files of Mnemo and Electronic libraries.
I think root user have write permissions. Isn't it?

Yes and then you really do not save the DB object but I have not the problem neither for 0.8.0.9 LTS or 0.9 work version.

Learn, learn and learn better than work, work and work.
Written on: 11. 03. 2014 [12:45]
snowboy
saman ahmadi
Topic creator
registered since: 14.09.2013
Posts: 13
I tried again, but I didn't see any save button.
Screenshot of my settings is attached here.
After closing the software, the DB will be disappeared.
Attachment

Dbprb.JPG (File type: image/jpeg, Size: 105.72 kilobytes) — 2463 downloads
Written on: 11. 03. 2014 [13:05]
snowboy
saman ahmadi
Topic creator
registered since: 14.09.2013
Posts: 13
Now I understand why I don't see save button.

After adding new DB, if we use "Load system from this DB" button, we can't see any save button in OpenSCADA. In this condition "ctrl+s" also doesn't work.
Therefor I conclude that we must save DB before load system from it.

So the problem is solved
Thanks for your attention :)



3198