List:Cluster« Previous MessageNext Message »
From:Magnus Blåudd Date:September 5 2012 11:12am
Subject:Re: Windows Cluster 7.2.7 Zip Download configdir issue
View as plain text  
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=<path>
>
> 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=<full path in mixed format> 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
Thread
Windows Cluster 7.2.7 Zip Download configdir issueRandy Johnson25 Aug
  • RE: Windows Cluster 7.2.7 Zip Download configdir issueAndrew Morgan3 Sep
    • RE: Windows Cluster 7.2.7 Zip Download configdir issueRandy Johnson5 Sep
      • RE: Windows Cluster 7.2.7 Zip Download configdir issueAndrew Morgan7 Sep
        • Re: Windows Cluster 7.2.7 Zip Download configdir issueAastha10 Sep
        • RE: Windows Cluster 7.2.7 Zip Download configdir issueRandy Johnson26 Sep
          • RE: Windows Cluster 7.2.7 Zip Download configdir issueAndrew Morgan26 Sep
  • Re: Windows Cluster 7.2.7 Zip Download configdir issueMagnus Blåudd5 Sep
Re: Windows Cluster 7.2.7 Zip Download configdir issueAndrew Morgan10 Sep
  • Re: Windows Cluster 7.2.7 Zip Download configdir issueAastha10 Sep