Thursday, September 5, 2019

Re: How can i share one Database Sqlite between 2 app on pythonanywhere -. Should I prefer postgresql or MySQL - Security

Thanks for your reply.

I hosted on pythonAnywhere.

Is it possible for postgresql. 

Should I prefer postgresql or MySQL regarding security issues .

Can you please tell me how to achieve in MySQL. 

Also how can I backup daily data of server on my local machine . 

Can any DB also provide front-end GUI for database access as per user Access  Control Rights ( Permissions ) 


On Thursday, September 5, 2019, Amirhosein Rajabi <a.h.radjabi@gmail.com> wrote:
I have shared a MySQL database even between two accounts in PythonAnyWhere. But I think there is no possible way for local DBs. If you can access the app1 files from the app2 or otherwise, you may be able to change settings.py for that db.sqlite path.

On Wednesday, September 4, 2019 at 9:40:39 AM UTC+4:30, Balaji wrote:
Hi Everyone

Can anybody suggest me
How can i share one Database Sqlite between 2 app on pythonanywhere.

Currently i have deployed one project on PythonAnywhere.
I have purchases 2 App.
Now i can execute 2 App simultaneous.


app1.pythonanywhere.com is my real time hosted project. Before making any changes, i create mirror copy of code and Database Sqlite on app2.pythonanywhere.com, make changes and if changes are proper. I make changes in

But it is time consuming Process. Better solution may be share database and make changes in Business Logic and reflect in orignal one.

My Simple Question is
How can i share sqlite database between two Project here.

OR

Is there any other way to do the same thing more efficiently?

Thanks in Advance.
--
Mr. Shetty Balaji S.
Asst. Professor
Department of Information Technology,
SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India
  Mobile: +91-9270696267

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/befcb047-eca7-4c78-9dea-49021a32aa18%40googlegroups.com.


--
Mr Shetty Balaji
Asst. Prof.
IT Department
SGGS I&T
Nanded. My. India

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAECSbOtUHnbXUeqYoZs56v32uB_5k_Zs4VtL%3DZe2KFq92vXQfA%40mail.gmail.com.

No comments:

Post a Comment