DROP TABLE IF EXISTS `example`; CREATE TABLE `example` ( `ID_EXAMPLE` int(10) unsigned NOT NULL AUTO_INCREMENT, `DESCRIPTION` varchar(30) NOT NULL, `LEVEL` smallint(5) unsigned DEFAULT NULL, PRIMARY KEY (`ID_EXAMPLE`) ) ENGINE = MYISAM PARTITION BY HASH(ID_EXAMPLE)( PARTITION p0 DATA DIRECTORY = 'C:/build/5.1/data/partitiontest/p0Data', PARTITION p1 DATA DIRECTORY = 'C:/build/5.1/data/partitiontest/p1Data', PARTITION p2 DATA DIRECTORY = 'C:/build/5.1/data/partitiontest/p2Data', PARTITION p3 DATA DIRECTORY = 'C:/build/5.1/data/partitiontest/p3Data' ); ERROR HY000: Can't create/write to file 'C:\build\5.1\data\partitiontest\p0Data\example#P#p0.MYD' (Errcode: 2)