Posts

Showing posts from February, 2019

Implementing database into C program

Image
After completing basic C programming, it is exciting to write some more complex or more functional programs. With more functionality added there is a need for the database for which MySQL plays an important role. STEP 1 :           First step is to install mysql server           Enter following commands in terminal :                   sudo apt-get install mysql-server                    sudo apt-get install libmysqlclient-dev          now MySQL server is installed.   STEP 2:          Now we have to create database in mysql. Open terminal and Enter command : sudo mysql -u root -p         now it will ask for  password , press ente...