Skip to content

Instantly share code, notes, and snippets.

Last active Feb 18, 2016
What would you like to do?
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