Hi Sharad,
the mysqld process is started at the last stage when you
first run your cluster, as explained in the following quickstart paper:
http://dev.mysql.com/doc/mysql/en/MySQL_Cluster_quick.html
Did you start the Management Server, then the DB Nodes,
then activate NDB support in your my.cnf file before starting your API
node with "mysqld_safe" ?
Olivier
On Thu, 2 Sep 2004, Sharad Maloo wrote:
>
> Hello,
>
> I am quite new to the cluster list, excuse me if this has been posted
> earlier.
>
> I get this error when I run the mysqld_safe process.
> ----
> frm the .err file.
>
> 40903 01:00:50 mysqld started
> 040903 1:00:50 InnoDB: Started; log sequence number 0 43866
> 040903 1:01:51 Can't init databases
> 040903 1:01:51 Aborting
>
> 040903 1:01:51 InnoDB: Starting shutdown...
> 040903 1:01:54 InnoDB: Shutdown completed; log sequence number 0 43866
> 040903 1:01:54 /usr/local/mysql/libexec/mysqld: Shutdown complete
>
> 040903 01:01:56 mysqld ended
>
> -------
>
> Following is the config.ini file I have been using
>
> [COMPUTER DEFAULT]
>
> [DB DEFAULT]
> NoOfReplicas: 2
>
> [API DEFAULT]
>
> [MGM DEFAULT]
> ArbitrationRank: 2
>
> [TCP DEFAULT]
> PortNumber: 28002
>
> [COMPUTER]
> Id:1
> HostName: localhost
>
> [COMPUTER]
> Id:2
> HostName: ASL-81
>
> [COMPUTER]
> Id:3
> HostName: cluster
>
> [MGM]
> Id:1
> ExecuteOnComputer: 1
> PortNumber: 2200
>
> [DB]
> Id: 2
> ExecuteOnComputer: 2
> FileSystemPath: /var/lib/mysql-cluster/node2/
>
> [DB]
> Id: 3
> ExecuteOnComputer: 3
> FileSystemPath: /var/lib/mysql-cluster/node3/
>
> [API]
> Id: 4
> ExecuteOnComputer: 1
>
>
> ------------
>
> Any inputs will be appreciated.
>
> Thanks aprior,
> Sharad Maloo
>
> --
> MySQL Cluster Mailing List
> For list archives: http://lists.mysql.com/cluster
> To unsubscribe: http://lists.mysql.com/cluster?unsub=1
>
>