From: Magnus BlÃ¥udd Date: September 5 2012 11:12am Subject: Re: Windows Cluster 7.2.7 Zip Download configdir issue List-Archive: http://lists.mysql.com/cluster/8394 Message-Id: <50473395.1030304@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 2012-08-25 05:50, Randy Johnson wrote: > Hello, > > I downloaded cluster 7.2.7 zip archive. > > I am following the quick start guide and I am up to this command: > > E:/mysql-cluster-gpl-7.2.7-winx64/cluster/mysql/bin/ndb_mgmd -f > E:/mysql-cluster-gpl-7.2.7-winx64/cluster/conf/config.ini –-initial > –-configdir=E:/mysql-cluster-gpl-7.2.7-winx64/cluster/conf > > When I run that command I am receiving this error: > > Here is the text in case the image does not come through: > > E:\mysql-cluster-gpl-7.2.7-winx64\cluster\mysql>E:/mysql-cluster-gpl-7.2.7-winx6 > > 4/cluster/mysql/bin/ndb_mgmd -f > E:/mysql-cluster-gpl-7.2.7-winx64/cluster/conf/c > > onfig.ini --initial > --configdir=E:/mysql-cluster-gpl-7.2.7-winx64/cluster/conf > > MySQL Cluster Management Server mysql-5.5.25 ndb-7.2.7 > > 2012-08-24 23:46:55 [MgmtSrvr] INFO -- The default config directory > 'C:/Prog > > ram Files/MySQL/MySQL Server 5.5/mysql-cluster' does not exist. Trying > to create > > it... > > Failed to create directory 'C:/Program Files/MySQL/MySQL Server > 5.5/mysql-cluste > > r', error: 3 > > 2012-08-24 23:46:55 [MgmtSrvr] ERROR -- Could not create directory > 'C:/Progra > > m Files/MySQL/MySQL Server 5.5/mysql-cluster'. Either create it manually > or spec > > ify a different directory with --configdir= > > E:\mysql-cluster-gpl-7.2.7-winx64\cluster\mysql> > > Am I doing something wrong? > Most MySQL tools on Windows prefer to used mixed paths like you have used above so I'm puzzled why this problem occurs. Since you have passed a --configdir= to ndb_mgmd, it should use that dir and not try to create the default (compiled in) directory. Would you mind experimenting with --configdir=c:/abs_dir and also relative path using --configdir=rel_dir ? There is also a --verbose switch to ndb_mgmd which you can use to get it to print more(although I can't see many additional printouts in this part of the code). - Magnus