I am developing an application in ember. I would host it locally in a machine using mangoose webserver after production. Now I need to store data for the application (json is most welcome) even in file database. I need a serverless local database without internet. I should not install node.js or any other software for database because the machine in which is going to be hosted has not given any provision for installation. The database or file must be directly acccessible from js. I have viewed about sqlite3 but i found no useful js library to connect without node.js. How could I achieve it. Guide me please.
Thanks in advance
Related
I've tried to make a website using flask using a sqlite database and deploy it via heroku, but apparently heroku doesn't support sqlite, it able to deploy but the database is deleted after a while. If I want to deploy using another service or buy my own domain, will the database be fine?
Heroku does support sqlite database.
But since Heroku has an ephemeral file system so the files created during program run are deleted on dyno restart.
Using another service may solve it, it depends on the service you are using.
A good solution would be to use a remote database. Heroku itself has an add on to add a postgresql.
Edit: Here is an article from devcenter.heroku which explains why sqlite doesn't work and shouldn't be used also explaining how to create an external database as addon.
Here is the article
I am working on an ERP Project, using sql server for database.
Now when I deploy the project, I have to install sql server which uses a lot of storage and time is also wasted. As the client is never going to fire any query. Thus, having no need of the development environment. So, is there any option to overcome this.
Local DB is one of the option but having difficulties in configuring it. If anybody ever used it and Please help me out. Or if there's any other option please help me with that
NOTE: I am using asp.net as front end technology
I'm not sure if this is what you're trying to do, but if you want your app to connect to an SQL Server database, you will need at least the OLE DB Driver to be installed on your server.
It will allow your app to connect to an SQL Server instance, which can be running on any other machine.
In complement you could have a look at this : https://www.connectionstrings.com/
and this https://learn.microsoft.com/fr-fr/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-ver15
I am working on a web application which have two parts.
1) One is the online web site at online server.
2) The second is running on local machines/computers.
The structure of database is same on both live and on local. Now a user can make changes on the local database and then publish them on to the live server.
How can I update data from local database to online database? Which is the best technique to do this?
Use Any of the Version Controller tool like TFS, It would help in check in your changes
I have a fairly simple project in progress where I create a very basic upload/download capable Silverlight 5 app to upload a user-selected file from their local machine to an Azure database. After reading up on the variety of ways to do this (WCF RIA services and others) I haven't been able to get a clear idea of how I would best implement this.
Some more information about my app would be that I envision it to be very simple, with the upload consisting of a file selection and subsequent tagging and uploading to the Azure database and the download portion consisting of a user searching for the file in a pivot-viewer like environment and then selecting and downloading the file they want. If it is relevant: the app will run in IE, Chrome, and Firefox.
How would I best connect my Silverlight app to a database set up in Windows Azure? Links to tutorials or explanations would be greatly appreciated! I'm looking for possible examples with sample code of how a Silverlight app could be written to connect and upload/download a file as well as samples/examples of what I need to setup on the Azure side in order for the app to function properly.
I think you need to use any tool which migrates your schema and connect to SQL azure database with proper server name using SQL server 2012.
I am trying to deploy umbraco website. The website runs ok locally, now when I published the website and uploaded via ftp client, there is internal error when I am trying to access the website.
My question is, since I was using SQL CE database locally, will I be still able to use that DB online or I'll have to use sql server database?
Furthermore, is there any special method to deploy umbraco application?
Thanks for reading, Laziale
If u have an windows azure account load it in to azure it works perfectly transfer your file through FTP . Install umbraco from azure as apps which azure is providing it works perfectly . I am also using umbraco on azure
You can use SQLCE on line, personally I wouldn't recommend it unless it is a very small DB, and the site gets little traffic; SQL Express is also free and a lot more powerful - but to your question, yes, SQLCE should work.
Perhaps let us see your connection string and the specifics of the error you are getting.