I need to regularly export Kiwi-tcms data to MongoDB. Kiwi-tcms is installed on my local Windows 7 using Docker Toolbox. I see that Kiwi-tcms stores data in MariaDB, how can I connect to MariaDB? Is there any Kiwi-tcms API that I can use to export data?
Try the commands on this page:
http://kiwitcms.org/blog/atodorov/2018/07/30/how-to-backup-docker-volumes-for-kiwi-tcms/
In particular, I use the dumpdata command a lot on Windows 10 and I end up with a JSON formatted text file with the DB contents.
This is an API, see tcms-api package on PyPI. Documentation how to use it is online.
Related
I'm running an MS Access database with VBA code that has libraries for Microsoft Office 2010. Currently, there are users that are upgrading their machine to Windows 10 running Access 2016.
When the database is opened on a new machine running Access 2016 the libraries for the Outlook changes to 16.0.
When I try to open the file in the old Access 2010 environment, I run into this error:
Missing msoutl.olb.
Is there a way to make the database backwards compatible?
It sounds like the users share the same frontend hosted in a network folder.
If not done already, split the database to have a single shared backend database file. Then, to avoid your issue, distribute a separate copy of the frontend to each user's workstation.
On the workstation, let the user launch the frontend using a shortcut that runs a script to always keep the frontend current. This method is described in detail in my article:
Deploy and update a Microsoft Access application with one click
This is straightforward but I haven't found out how to do it.
I started using Google Cloud and setup my PostgreSQL instance.
Now I need to migrate data from another MSSQL database, but not all of it.
I can migrate from my local computer connecting to both databases.
Now I'd like to do the same directly from GCloud.
The posts that I've found describe how to create the whole MSSQL from GCloud, but I only need to connect to one that has been created.
However, I haven't found how to connect to MSSQL from there. Specifically, how do I install the necessary drivers?
Thanks.
How can you query a Pervasive v13 database from an application that's running inside a docker container?
It would seem you'd have to install the pervasive sql client inside the docker container to accomplish this, but I cannot locate any documentation regarding this task.
Please advise.
Yes, you would need to install the Pervasive v13 client within the Docker container. You'd need to use the client for the OS of the container. If the container is Linux based, use the Linux client. If it's Windows, use the Windows client.
in my alfresco-global.properties file it says:
db.url=jdbc:postgresql://localhost:5432/${db.name}
I want to know how to access this database in the browser?
The default PostgreSQL client application is psql. If you can't install this or if you want to use a GUI client, the PostgreSQL community maintains a list of GUI clients.
Every client either asks you for credentials or will present you a form where you can enter them.
The JDBC URL from your question is
jdbc:postgresql://localhost:5432/${db.name}
My guess is that db.name is equal to alfresco. So the complete JDBC URL would be
jdbc:postgresql://localhost:5432/alfresco
If you have installed Alfresco only your local computer, this would be the JDBC URL to use with a client that uses JDBC. If you have installed Alfresco on a different computer, you would have to replace localhost with the host name of this computer.
To connect to alfresco data base you can use any Postgresql client, by the way, alfresco install pgAdmin client.
To use this client you shoud open {alfresco_install_directory}/postgresql/bin/pgAdmin3, add new server and type database credentials(host, port ...) from alfresco-global.properties.
Edit
This is an example of configuration, you can find all what you need in alfresco-global.properties.
In case you have made the default installation(postgresql), you cant.
If you have switched the database to mysql you could use something like php admin or similar. Hope it helps.
I have a small asp.net core website that I push to my server via jenkins. Jenkins does git checkout and then dotnet restore and dotnet run. It works for the website, but I added entity framework and I'm a little confused. How exactly do I move my local database to the server? Or should I create one on the server and then reference it?
I have one mssql database on (localdb)\MSSQLLocalDB, but when I run the server and try to go to a page which gets data from the database I get 500 Internal Server Error.
I would like to have one local db for testing and one on the server, but I just can't wrap my head around all of this.
Well in development, you should write a init script for your database. This will create all the required stuff your application needs.
So in linux...
Install the MySQL, get the users set up, and init the database.
In your application...
Provide the connection string for the DB installed in Linux.
I am not running my app in c# but this is similar to my node app. That is what I do. I develop in windows with Postgres. Then my prod is on a GoDaddy Linux cloud server and I have Postgres installed in that. When I do my git pull for the latest, I don't have to change much because of the .env file for my environment variables.