(The tools under linux are jerky, refugees and few systematic tutorials. This article briefly explains how to use c to connect and operate the database under linux, which is worth a look.
Settings before and after the c language to connect to mysql under linux-ubuntu (8.04, 8.10).txt)