/notes

Terminal based notes keeping app with mysql database

Primary LanguageCGNU General Public License v3.0GPL-3.0

notes

Terminal based notes keeping app with mysql database < needed: "Mysql" >

uses

$ ./notes ==> lists all notes $ ./notes ==> displays note identified by $ ./notes -a|-add ==> adds notes $ ./notes -c|-configure ==> creates database and table $ ./notes -h|-help ==> uses help $ ./notes -t|-truncate

compile

$ gcc notes.c -o notes mysql_config --cflags --libs

troubleshoot

DROP USER 'ntuser'@'localhost';

DROP DATABASE notesdb;

ALTER TABLE mynotes auto_increment=;