uddhavpgautam / notes

Terminal based notes keeping app with mysql database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#notes

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

##uses

$ ./notes		            ==> lists all notes
$ ./notes <id>		      ==> displays note identified by <id>
$ ./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=<value>;

About

Terminal based notes keeping app with mysql database

License:GNU General Public License v3.0