[CENTOS] [Vagrant] Set up a simple API server with python

As I was sure, I made a note

Solved by the following procedure

  1. Enable pip
  2. I can't pip install MySQLdb. Solved by referring to this site
  3. Phantomjs cannot be used. Solution by referring to this site
  4. When I tried to INSERT into a table with mysql, I couldn't. The cause is that the DB collation and charset settings were not utf8. Solution by referring to this site
  5. Next, I could not connect to the mysql server externally. Solution by referring to this site

mysql> GRANT ALL PRIVILEGES ON *.* TO root@'192.168.%' IDENTIFIED BY 'root password' WITH GRANT OPTION;



 TODO: Specify and summarize commands at a later date



Recommended Posts

[Vagrant] Set up a simple API server with python
Set up a simple HTTPS server in Python 3
Set up a simple HTTPS server with asyncio
Set up a simple SMTP server in Python
Set up a Samba server with Docker
Set up a local server with Go-File upload-
Set up a test SMTP server in Python.
Set up a local server with Go-File download-
Send mail with mailx to a dummy SMTP server set up with python.
Set up a Python development environment with Sublime Text 2
Introduction and usage of Python bottle ・ Try to set up a simple web server with login function
Set up a Python development environment with Visual Studio Code
Creating a simple PowerPoint file with Python
Rubyist tried to make a simple API with Python + bottle + MySQL
Simple Slack API client made with Python
How to set up a simple SMTP server that can be tested locally in Python
Set up a mail server using Twisted
I made a simple blackjack with Python
Set up a UDP server in C language
[Python] Make a simple maze game with Pyxel
Launch a web server with Python and Flask
How to set up a local development server
Set up a Python development environment on Marvericks
Create an API server quickly with Python + Falcon
Local server with python
Put Docker in Windows Home and run a simple web server with Python
How to set up a Python environment using pyenv
Set up a file server on Ubuntu 20.04 using Samba
Playing with a user-local artificial intelligence API in Python
I set up Django from scratch (Vagrant, Centos, Python3)
A simple Python HTTP server that supports Range Requests
[Blender] Complement Blender's Python API with a text editor
Create a python development environment with vagrant + ansible + fabric
Let's make a simple game with Python 3 and iPhone
Set up Docker on Oracle Linux (7.x) with Vagrant
Crawling with Python and Twitter API 1-Simple search function
Set up a free server on AWS in 30 minutes
[Part 1] Let's set up a Minecraft server on Linux
A server that echoes data POSTed with flask / python
A note on speeding up Python code with Numba
Set up a Minecraft resource (Spigot) server via docker
What is God? Make a simple chatbot with python
Create a fake Minecraft server in Python with Quarry
[Mac] I want to make a simple HTTP server that runs CGI with Python
Set up Python 3.4 on Ubuntu
Use Trello API with python
Use Twitter API with Python
Create a (simple) REST server
Set Up for Mac (Python)
Web API with Python + Falcon
Make a fortune with Python
Play RocketChat with API / Python
Easy HTTP server with Python
Call the API with python3.
Create a simple textlint server
Use subsonic API with python3
Create a directory with python
I made a simple typing game with tkinter in Python
A note about hitting the Facebook API with the Python SDK
Quickly take a query string with API Gateway-> Lambda (Python)
I made a simple book application with python + Flask ~ Introduction ~