Durchsuchen nach
Schlagwort: localhost

MongoDB lists all databases with Python

MongoDB lists all databases with Python

You can list all created databases in MongoDB with a Python script. This Python script might also be available for Windows. The installed versions of Python, MongoDB, pymongo I have older version, what I can do? It might work with older version, but I’m not sure. Updating pymongo pip install pymongo -U What does this script do? ✅️ Checking whether MongoDB is installed on Linux and Windows ✅️ Checking whether pymongo is installed on Linux and Windows. Pymongo you for…

Weiterlesen Weiterlesen

Python MySQL create a database and a table

Python MySQL create a database and a table

This is a Python script in order to create first the database and then a table with different values in one step. It is useful, then you don’t need to do it in two steps. What is the requirement for the script Installation of Python Windows and Mac For this script, you need to install Python if you are on Windows and Mac. Go to the official web page of Python.org and download your package and installed like another program….

Weiterlesen Weiterlesen

MongoDB macht große Probleme

MongoDB macht große Probleme

Ich hatte ja vor vielen Monaten von der Version 4.2 ein Upgrade auf die Version 4.4 gemacht. Das große Problem war immer, die Repo-Datei unter /etc/yum.d wurde nie von Fedora 38 anerkannt. Bei jedem Update hat es übergangen. Weil ja bald Fedora 40 herauskommt und damit auch der Support für Fedora 38 danach endet, wollte ich mich endlich um MongoDB 4.4 kümmern. Update von MongoDB Ich habe mich entschlossen, auf die aktuellste Version 7.0 upzugraden. Also die repo-Datei auf 7.0…

Weiterlesen Weiterlesen