473,765 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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**********@ho tmail.com
Yahoo!:hufflepu ff0305 Jabber: Sa********@jabb er.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++H M+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 +DWXyGXgRAntaAJ 46XXjWRgbPZf62E +TEndadAMVk0QCd FgCe
k9EjluSYDzoaw66/Xu5QXKU=
=AHO/
-----END PGP SIGNATURE-----
Aug 22 '05 #1
1 1680
>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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
1896
by: mpinsley | last post by:
We are a software company that provides Inventory & Procurement mangement to the hospitality industry. For the past twenty years we have been using Progress Software as both the development language and the underlying database. We are in the process of exploring new languages to write our application in, as Progress is becoming expensive for us. Here are some of our issues 1. Progress is a 4GL language so it is very rapid development....
0
1738
by: Morten Gulbrandsen | last post by:
Dear MySQL developers, Could some experienced Database developer please take a look at this ? It is supposed to be plain SQL2. How can it be coded under MySQL Especially all referential triggered actions.
0
1777
by: Shailesh | last post by:
I made a MyISAM table on mysql 4.0.18 NT with auto_increment column started at 2147483646. The third row I insert fails as expected because the integer range is maxed out. However, if I delete the topmost row, and then re-insert a row, the topmost value is reused. This contradicts the documentation. http://dev.mysql.com/doc/mysql/en/CREATE_TABLE.html "If you delete the row containing the maximum value for an AUTO_INCREMENT column, the...
0
3137
by: jy2003 | last post by:
1. Does MyISAM support FOREIGN KEY constraints? When I read the online MySQL Reference Manual, it said "InnoDB also supports FOREIGN KEY constraints". Does it mean MyISAM does not support FOREIGN KEY constraints? It this is the case, what should I keep in mind when I design MyISAM tables? 2. I have seen the following CREATE statement somewhere, but I have never known that the "KEY" keyword can be used that way(the last 4 "KEY"). I...
3
2715
by: Mike Ho | last post by:
I'm wondering if there is a way to retrieve Foreign Key declaration information on both MyISAM and InnoDB tables. Of course, I understand that MyISAM doesn't support Foreign Keys, however, it does still parse FK declarations within a CREATE TABLE statement, and moreover, it even creates an index on the column that is the Foreign Key. So my question is for this sample CREATE TABLE declaration:
4
2948
by: Good Man | last post by:
Hi there I have a database with about 20 or so tables, maybe a few thousand rows in each. I am starting to do more complex things with my insertions etc, and I want to start to use transactions, so I imagine I should change some table types in the database from MyISAM to InnoDB. I know that InnoDB tables are a completely different beast than MyISAM in terms of data storage etc... ie: instead of using folders on the server, everything...
2
11411
by: crescent_au | last post by:
I've read articles and postings about MyISAM vs InnoDB but I am still a bit unsure about which storage engine to use for my new project. I am developing a website in PHP/MySQL, which includes features such as member login, insert/update/delete operations for members to maintain their records, report generation based on database entries, shopping cart but payments will be made through Paypal gateway and the search facility. This is a...
110
10625
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst case scenario for MyISAM backend? Also is it possible to not to lose data but get them corrupted?
5
1458
by: anonymous | last post by:
Hello! I am not a complete new beginner, but until now I gathered the information I needed from where I found it. However, my newest problem requires more than that. I want to create a table system, in which one table is dependent on the other, namely: a database of vocabulary and a corresponding database of languages. CREATE TABLE `language` ( `language` varchar(255) NOT NULL default '', `specialcharacters` varchar(255) NOT NULL...
0
9399
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9957
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8832
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.