Skip to content

Instantly share code, notes, and snippets.

@smamran
Last active February 18, 2016 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smamran/215f6955070c422ec4e2 to your computer and use it in GitHub Desktop.
Save smamran/215f6955070c422ec4e2 to your computer and use it in GitHub Desktop.
Mysql Cpp

Linux Compile MySQL C Api Source Codes

>> gcc mysql_me.c  `mysql_config --cflags --libs`

C (time_t) vs MySQL Date Format interchange

$$ SELECT FROM_UNIXTIME(UNIX_TIMESTAMP(), '%a %b %d %H:%i:%s %x');
$$ Mon Feb 08 19:01:08 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment