I am on python 3.5.1 and I am unable to install the mysql connector:
install --allow-external mysql-connector-python-rf mysql-connector-python-rf
not working, not a regular pip command for mysql-connector-python-rf. I get the following message:
error: option --single-version-externally-managed not recognized
Any ideas?
Still not mysql-connectorfor python 3.5.1, but you can use pymysql to connect mysql to python 3.5.1!
mysql-connector
python 3.5.1
import pymysql conn = pymysql.connect(host='localhost', port=port_no, user='db_user', passwd='password', db='db_name')
Source: https://habr.com/ru/post/1627102/More articles:Кнопки PHPMyAdmin EDIT и EXECUTE отключены для хранимых процедур - mysqlWhy are my ratified stars not working / loading / appearing in Heroku, although it works great for development? [SOLVED] - ruby-on-railsRuby Multidimensional Array - Remove duplicate in first position, add number in second position - arraysStars of ratirats not loading into production (heroics) - jqueryReact Native ViewPagerAndroid with multiple visible pages - androidtemplate to match function call 1-or-2-arg for lib2to3 - pythonЯ пытаюсь создать шахматную панель 8x8 PGM в C - ccassandra:: могу ли я создать таблицу без основной клавиши? - cassandraImplement quicksort on bidirectional iterators - c ++MySQL multi delete row in 2 tables that CAN communicate with each other - mysqlAll Articles