Ubuntu & MacOS安装Mysql & connector
Posted 一切都是最好的安排
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu & MacOS安装Mysql & connector相关的知识,希望对你有一定的参考价值。
Ubuntu & MacOS安装Mysql & connector
1. 安装mysql
sudo apt-get install mysql-server
apt-get install mysql-client
sudo apt-get install libmysqlclient-dev
2.安装Mysql.connector
# wget http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-1.0.11.zip # unzip mysql-connector-python-1.0.11.zip # cd mysql-connector-python-1.0.11 # python setup.py install
以上是关于Ubuntu & MacOS安装Mysql & connector的主要内容,如果未能解决你的问题,请参考以下文章
macOS monterey 12.6.1安装homebrew + nginx + php + mysql
macOS monterey 12.6.1安装homebrew + nginx + php + mysql