Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.03 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.03 KB

iDBTrader: Trade SPJ query on incomplete data with DBMS

  1. Download MySQL https://downloads.mysql.com/archives/community/ (we use version 5.7 in this project)
  2. Move file "my.ini" into installation directory
  3. In file "my.ini", edit basedir and datadir to your installation directory and subdirectory ⬇ ################################################### [mysqld]

port=3306

basedir=Your installation directory

datadir=Your installation directory\data

###################################################

  1. In administrator mode, open command prompt, type "(Your installation directory)\bin\mysqld.exe --initialize-insecure"
  2. delete all files and folders under folder "upload"
  3. Run mysql and the cods in file "database_code.txt" to construct the databases in iDBTrader
  4. In file "dataset.py", edit global variable "user" and "pwd" to the username and password of your local database
  5. Run app.py to start the website

You can refer to the website (https://www.runoob.com/mysql/mysql-install.html) for easy operation.