Python -> MySQL "select * from brand WHERE text='L'Orial'" (quote inside search text) – Phpmyadmin
From Python 3.9 i'm trying to do a MySql query like this select * from brand WHERE text='L'Orial'. It works fine from phpMyAdmin but fails from python for all text including quote "'" brand = "L'Orial" where = f"text='{brand}'" brand_pk_id…