I'm running MySQL 5.0.22 on CentOS 5.1 (with all current patches
applied) and tried to define a table 'testcsv' using ENGINE = CSV. I
couldn't find a *.CSV file in the data directory. After looking it up in
MySQL Third Edition (by Paul DuBois) it turns out that I'm not running
the CSV engine. My testcsv table is using the default MyISAM engine. See
what 'show tables' says:

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 11 to server version: 5.0.22

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show engines;
+------------+---------+----------------------------------------------------------------+
| Engine     | Support |
Comment                                                        |
+------------+---------+----------------------------------------------------------------+
| MyISAM     | DEFAULT | Default engine as of MySQL 3.23 with great
performance         |
| MEMORY     | YES     | Hash based, stored in memory, useful for
temporary tables      |
| InnoDB     | YES     | Supports transactions, row-level locking, and
foreign keys     |
| BerkeleyDB | YES     | Supports transactions and page-level
locking                   |
| BLACKHOLE  | NO      | /dev/null storage engine (anything you write to
it disappears) |
| EXAMPLE    | NO      | Example storage
engine                                         |
| ARCHIVE    | NO      | Archive storage
engine                                         |
| CSV        | NO      | CSV storage
engine                                             |
| ndbcluster | NO      | Clustered, fault-tolerant, memory-based
tables                 |
| FEDERATED  | NO      | Federated MySQL storage
engine                                 |
| MRG_MYISAM | YES     | Collection of identical MyISAM
tables                          |
| ISAM       | NO      | Obsolete storage
engine                                        |
+------------+---------+----------------------------------------------------------------+
12 rows in set (0.01 sec)

I'm not sure if a 'YES' in the 'Support' column above means the engine
is started at runtime, or if it means the MySQL server was compiled with
support for that engine. In any case, I want to be able to use the CSV
engine in addition to MyISAM, MEMORY, InnoDB, BerkeleyDB and MRG_MYISAM.
How do I "activate" that CSV engine?

Thanks

Bob Cochran
Greenbelt, Maryland, USA



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to