设置方法:
安装博客。请参阅当前博客安装说明:https://bayesianlogic.github.io/pages/download.html
安装mysql服务器:
sudo apt-get install mysql-server
启动 mysql 服务器控制台:
mysql -u root -p
然后在mysql服务器控制台:
CREATE DATABASE PPLDATASETS;
CREATE USER 'ppluser' IDENTIFIED BY 'ppluserpasswordhere...';
GRANT ALL ON PPLDATASETS.* TO 'ppluser';
然后回到命令行:
sudo apt-get install libmysqlclient-dev
pip install MySQL-python