Repository for database course labs and assignment
@xtenzQ, @SiedlerLorenz, @Eddie-Tang
- GCC Compiler
$ sudo apt-get install gcc
- MYSQL Server
$ sudo apt-get install mysql-server
$ mysql_secure_installation
- MYSQL Client Library
$ sudo apt-get install libmysqlclient-dev
- MySQL Library configuration
$ mysql_config --libs
$ mysql_config --cflags
To install this project simply clone it to your folder:
$ git clone git://github.com/xtenzQ/Uni-Database.git
To successfully compile use mysql
flags:
$ gcc -o test mysql_example.c $(mysql_config --cflags) $(mysql_config --libs)