Last active
December 3, 2020 02:04
-
-
Save sahilkhosla/ac633daa86b947293e76855b3d59ab17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# install mysql | |
brew install mysql | |
brew services start mysql | |
# create database | |
mysql -uroot | |
>> create database parking | |
#make sure you have pip3 installed | |
which pip3 | |
# install myslq connector | |
pip3 install mysql-connector | |
# make sure password in your code is correct | |
# by defaul root user on mysql has no password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment