Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1269

Python • Installing MARIADB on Bookworm with Python

$
0
0
I'm working off of an older (probably Buster) notes file for setting up a Pi for MariaDB and Python program access. I'm using a fresh copy of Bookworm on a Pi 4b 4GB. My notes say
Install MariaDB and tools:
a. sudo apt install mariadb-server
b. sudo apt install python-mysqldb
c. sudo apt -y install python-mysql.connector
d. sudo pip install PyMySQL
I got b. to work using

Code:

sudo apt install python3-mysqldb
but have not figured out how to get c. and d. to work.

Can anyone assist?....RDK

Statistics: Posted by RDK — Mon Aug 05, 2024 5:58 am



Viewing all articles
Browse latest Browse all 1269

Trending Articles