Skip to content

Tag: mariadb

Linux CentOS 8 – Pip3 install Mariadb

Currently i’m working on a school project where I have to use MariaDB in a Python3 assignment. I have to build a Python script that connects to a database and put information into it. So said and done, I have created a Python script: But now my real issue is starting. I’m working with a Linux Cent…

Change datetime format in mariadb

Database : Mariadb Platform : CentOS Need to do Import data from a text file to table. Problem with DATETIME format. After importing the values are showing NULL. Answer Assuming your example of ‘mmddYYYYHHiissmmm’ is correct, change ‘%m-%d-%Y %H:%i:%s:%f’ to ‘%m%d%Y%H%i%s%f&#8217…