/cpp-mysql

Trying out mysql-connector-cpp

Primary LanguageC++

cpp-mysql

Requires Chalet to build. Only tested on Windows and macOS so far.

  1. Install MySQL Community Server and make sure it's running
  2. Add a database (ie. test_db)
  3. Add a .env in the project directory with the following:
SAPP_MYSQL_HOST=(host - blank if 127.0.0.1)
SAPP_MYSQL_PORT=(port - blank if 33060)
SAPP_MYSQL_USER=(user)
SAPP_MYSQL_PWD=(pwd)
SAPP_MYSQL_DB=(db)
  1. Run chalet buildrun to build the application and run it