Dyego,

from the documentation of CreateFile in old Visual C++ docs I found the
following description how to specify in Windows the name of a disk drive or
a partition on a disk drive. The name you used below looks more a Linux way
to specify a disk partition.

Best regards,

Heikki Tuuri
Innobase Oy
---
InnoDB - transactions, hot backup, and foreign key support for MySQL
See http://www.innodb.com, download MySQL-Max from http://www.mysql.com


"
Disk Devices

Windows NT: You can use the CreateFile function to open a disk drive or a
partition on a disk drive. The function returns a handle to the disk device;
that handle can be used with the DeviceIOControl function. The following
requirements must be met in order for such a call to succeed:

· The caller must have administrative privileges for the operation to
succeed on a hard disk drive.

· The lpFileName string should be of the form \\.\PHYSICALDRIVEx to open the
hard disk x. Hard disk numbers start at zero. For example: String
 Meaning

\\.\PHYSICALDRIVE2
 Obtains a handle to the third physical drive on the user’s computer.



· The lpFileName string should be \\.\x: to open a floppy drive x or a
partition x on a hard disk. For example: String
 Meaning

\\.\A:
 Obtains a handle to drive A on the user’s computer.

\\.\C:
 Obtains a handle to drive C on the user’s computer.
"

--------------------------------------------------

Subject: The InnoDB on raw devices...
From: Dyego Souza do Carmo
Date: Fri, 13 Dec 2002 08:18:19 -0200


----------------------------------------------------------------------------
----



I'm trying to use InnoDB on raw device under Windows XP Prof.


my innodb_data_file_path is :


innodb_data_file_path = /dev/hda2:5Gnewraw

but mysql not create a database :(


any idea ?

my system is :
MySQL 3.23.54 on Windows XP


Tnks,



sql,query




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to