Closed GoogleCodeExporter closed 8 years ago
I've also connected via DBI from the mha-manager box to all the mysql
instances, with the root account using the following script:
use strict;
use DBI;
my $dbh;
##
$dbh = DBI->connect('DBI:mysql:database=mydb;host=xx.xxx.xxx.xxx', 'root',
'passwd') || die
$dbh->disconnect();
Original comment by danoyo...@gmail.com
on 21 Feb 2012 at 7:45
I think I see the problem:
main::main(/vol/mha/master_ip_online_change:122):
122: $new_master_handler->connect( $new_master_ip, $new_master_port,
"root",
123: "rootpass", 1 );
Shouldn't the "rootpass" be pulled in form the config somewhere? I don't want
to hard code this in the script, I think that might be the issue....
Original comment by danoyo...@gmail.com
on 21 Feb 2012 at 8:02
ok, that was it...I'll figure out the password stuff, sorry for the noise... :(
Original comment by danoyo...@gmail.com
on 21 Feb 2012 at 8:15
Original comment by Yoshinor...@gmail.com
on 22 Feb 2012 at 10:51
Original issue reported on code.google.com by
danoyo...@gmail.com
on 21 Feb 2012 at 7:33