469,904 Members | 1,921 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

C program to create myi, myd files

is it possible to create a myi, myd file for mysql using a C program. I
am using Stata that is written in C API, and I want to write the data
out to MYSQL database. Using ODBC and loading the data in MYSQL from
STATA takes forever. Can anyone please tell me if I can create the myd
files by using the data in memory thru C programming.

thanks
Amit

Nov 15 '05 #1
1 1394
>is it possible to create a myi, myd file for mysql using a C program. I
am using Stata that is written in C API, and I want to write the data
out to MYSQL database. Using ODBC and loading the data in MYSQL from
STATA takes forever. Can anyone please tell me if I can create the myd
files by using the data in memory thru C programming.


Download the source code to MySQL. It's largely C with some C++.
The mysqld daemon creates those files. I believe there is the
ability to have an "embedded server" linked with your program so
the data is passed in memory. Or you could just use the C API
to MySQL and dump ODBC.

Gordon L. Burditt
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by Roy Riddex | last post: by
4 posts views Thread by Denise Mills | last post: by
27 posts views Thread by cj | last post: by
2 posts views Thread by queanbeyan | last post: by
9 posts views Thread by tiwarinitin.3108 | last post: by
1 post views Thread by arnuld | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.