Connect python to mysql

When I tried to connect python to mysql, I found that I needed pip.

>curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python

Even if you hit

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   260  100   260    0     0    674      0 --:--:-- --:--:-- --:--:--   674
You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py

When the error appears, the command to hit seems to be old

curl -kL https://bootstrap.pypa.io/get-pip.py | sudo python

If you hit, it's okay. Check if it can be installed

> pip -V
pip 9.0.1 from /Library/Python/2.7/site-packages (python 2.7)

Recommended Posts

Connect python to mysql
Connect to mysql
Connect to Wikipedia with Python
Connect to sqlite from python
Connect to MySQL with Python on Raspberry Pi
Connect to utf8mb4 database from python
How to use Mysql in python
Connect to MySQL using Flask SQLAlchemy
"Backport" to python 2
Connect to Docker's MySQL container from Flask
Connecting from python to MySQL on CentOS 6.4
Connect to s3 with AWS Lambda Python
[Python / Tkinter] Connect keyboard shortcuts to Menu
Connect to pepper with PEPPER Mac's python interpreter
Connect to coincheck's Websocket API from Python
Touch MySQL from Python 3
How to install Python
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
Rewrite Python2 code to Python3 (2to3)
Use MySQL from Python
How to install python
python decorator to retry
Introduction to Python language
Write Python in MySQL
Introduction to OpenCV (python)-(2)
Note to daemonize python
Introducing Python 2.7 to CentOS 6.6
[Python MinMaxScaler] Normalize to 0 ~ 1
Use Tor to connect from urllib2 [Python] [Mac]
[2020.8 latest] How to install Python
[python] Convert date to string
Post from Python to Slack
Post to vim → Python → Slack
Introduction to Python Django (2) Win
To flush stdout in Python
Convert numpy int64 to python int
python3: How to use bottle (2)
[Python] Convert list to Pandas [Pandas]
Cheating from PHP to Python
A road to intermediate Python
Python notes to forget soon
[Python] How to use list 1
Login to website in Python
How to update Python Tkinter to 8.6
Post to slack with Python 3
Use MySQL from Anaconda (python)
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
Post to Twitter using Python
How to use Python argparse
Start to Selenium using python
Connect Vagrant's MySQL with MySQL Workbench
Update python on Mac to 3.7-> 3.8
3 Reasons Beginners to Start Python
Convert Scratch project to Python
[Python] Convert Shift_JIS to UTF-8
Python: How to use pydub
[Python] How to use checkio
Switch from python2.7 to python3.6 (centos7)
How to run Notepad ++ Python
Speech to speech in python [text to speech]