Link to home
Start Free TrialLog in
Avatar of marrowyung
marrowyung

asked on

When installing my first MySQL cluster, I see these error.

hi,

I am setting up the first MySQL cluster and I need to install the auto install rpm first, but that one said it depends on community server rpm first, which asking for the client to be install, but when I install the client it complain:

User generated image
so how can I get ride of that error when installing the client?

what is perl (Class::MethodMaker) ? how to install it?

I download all component from https://dev.mysql.com/downloads/cluster/

and now the files list is:

User generated image
anything missed?
Avatar of FishMonger
FishMonger
Flag of United States of America image

You need to install the perl Class::MethodMaker module.

The most common way to install it is to use the cpan or cpanm command line tool which will download and install the module as well as its dependencies.
cpan install Class::MethodMaker

Another option would be to download the tar file and build it yourself but that won't install dependencies.

How to install CPAN modules
Avatar of marrowyung
marrowyung

ASKER

"cpan install Class::MethodMaker"

so just type this one using root account in linux command line ?
but is it normal for any redhat linux installation or MySQL cluster installation ?
ASKER CERTIFIED SOLUTION
Avatar of FishMonger
FishMonger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Have you tried installing mysql cluster via yum instead of rpm?  It should pickup and install the dependencies.
"Have you tried installing mysql cluster via yum instead of rpm?  "

it shows error when I use Yum, I will show you the error next week.

but when I yum the rpm, it doesn't work.

also the node I am installing the rpm can't connect to the internet, any problem on using yum based on this ?
Yum requires internet access to connect to the the repositories.
we don't have internet for that box, then what should I do, do the step you suggestion from the first answer?

how about I have download it locally and yum that local rpm ?
hi,

using cpan I saw this error:

User generated image

"Another option would be to download the tar file and build it yourself but that won't install dependencies."

 I don't see the tar ball, where is it ?

I can't see where I can install the CPAN command, any idea?  google seems return nothing on this for me.
if it is possible for us to add internet access for all test machine for us to download MySQL cluster binary and install it successfully with yum install, what is the URL for Yum to work ?

repo.mysql.com

?
i installed it finally !