lalawawa <usenet (AT) ccjj (DOT) info> wrote:
Quote:
- How do I access MySql from within a C/C++ program (without invoking
the unix shell, i.e. without calling "system" or "popen"? |
There is a bunch of "connectors" available to use MySQL from many
programming languages. The C API (also known as libmysqlclient) is
used very often. Connector/C is just a freestanding implementation of
the same. The C++ API is from MySQL^WSun^WOracle, and Connector/C++
is a community project.
http://dev.mysql.com/doc/refman/5.1/...tors-apis.html
Quote:
- How do I tell MySql I want my database to be stored in a specific
location on my file system? |
The datadir option has been named already. There are also options for
CREATE TABLE to put MyISAM files outside $datadir. And the shared
InnoDB tablespace can also be put outside the $datadir.
http://dev.mysql.com/doc/refman/5.1/...r-options.html
http://dev.mysql.com/doc/refman/5.1/...ate-table.html
http://dev.mysql.com/doc/refman/5.1/...arameters.html
XL