469,951 Members | 2,352 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,951 developers. It's quick & easy.

C API, setting language, MyISAM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm working in a project in C++ using MySQL C API (Win98/Dev-C++
4.9.9.8/MySQL DevPak/MySQL 4.1.13) and I want to know if it's possible
to setup the server environment language (--language) via
mysql_options() function.

Also, I want to know if it's possible to setup a table to MyISAM
instead of InnoDB via C API. I have some tables that I want to use
FULLTEXT in them and it only works in MyISAM.

- --
Thanks!

Fabio Emilio Costa ICQ #:173799674 Borda da Mata - MG - Brazil
fa************@yahoo.com.br MSN: hu**********@hotmail.com
Yahoo!:hufflepuff0305 Jabber: Sa********@jabber.org

"Copy! Be Free! Don't be a Muggle! Use Free Software!"

HPCode (1.1)-H PS++COS+++POA+++GOF+++*OOTP+++ FF++ QB
CH+++DD+++HB++HM+PO++TR+++AR+++AT+++*MS+++
NL/Gi-BW/Fl-RB/Ol-RW/He-HP/Lu-RL/To

HPCode - www.hogwarts-library.net/common/hpcode.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDCScfV8k+DWXyGXgRAntaAJ46XXjWRgbPZf62E+TEnd adAMVk0QCdFgCe
k9EjluSYDzoaw66/Xu5QXKU=
=AHO/
-----END PGP SIGNATURE-----
Aug 22 '05 #1
1 1535
>Also, I want to know if it's possible to setup a table to MyISAM
instead of InnoDB via C API. I have some tables that I want to use
FULLTEXT in them and it only works in MyISAM.


If you are using the C API to create the table, use the ENGINE=MyISAM
option on the CREATE TABLE query. If the table already exists and
you want to move it to MyISAM, "ALTER TABLE foo ENGINE=MyISAM".

Gordon L. Burditt
Aug 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by mpinsley | last post: by
reply views Thread by Shailesh | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.