From QuantizeCity by wonseokdjango, we're able to access Seoul_40x40_500x500 from prism.snu.ac.kr. We have to make DBMS based on MySQL in C++ environment.
Download MySQL server
- dev.mysql.com
- downloads -> MySQL Community Edition -> MySQL Community Server
- MySQL Installer 5.7 for windows: Windows(x86, 32-bit), MySQL Installer MSI download
- (64-bit version included)
- Start downloading MySQL installer
- Click "No thanks, just start my download."
Project environment settings
- Create an empty C++ project in Visual Studio 2015.
- Should change build type same as your system.
- Modify project settings
- Add MySQL Server include directory to VC++ Directories -> Include Directories: C:\ProgramFiles\MySQL\MySQL Server 5.7\include
- Add MySQL Server lib directory to VC++ Directories -> Library Directories: C:\ProgramFiles\MySQL\MySQL Server 5.7\lib
- Add MySQL Server lib to VC++ Directories -> Library Directories: libmysql.lib
- copy libmysql.dll from C:\Program Files\MySQL\MySQL Server 5.7\lib to project directory
- Build and fix bugs about redefinition in both time.h and my_global.h