You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If option value has a spaces it wrongly processed by the script:
for example: init-connect = 'SET NAMES utf8'
on the result we will have mysqld .... --init-connect=SET NAMES utf8 --character-set-server=utf8...
fix:
subdefaults_for_group
{
my ($group) = @_;
return () unless$my_print_defaults_exists;
my$com= join'', 'my_print_defaults', @defaults_options, $group;
my@defaults = `$com`;
chomp@defaults;
for (my$j = 0; defined($defaults[$j]); $j++)
{
if ($defaults[$j] =~ /\ /)
{
warn"Option $options[$j] with spaces\n";
my ($opt_name,$opt_val) = split( "=", $defaults[$j]);
$defaults[$j] = $opt_name."=\'".$opt_val."\'";
}
}
return@defaults;
}
1st node on cluster should be running with --wsrep-new-cluster for initiating replication. Could you please add this tag?
(my big issue) I have a problem to start replication (with method rsync or xtrabackup-v2)
my configs
root@ubuntu-12:~# dpkg -l|grep my
ii iproute 1:3.12.0-2ubuntu1 all transitional dummy package for iproute2
ii libdbd-mysql-perl 4.025-1 amd64 Perl5 database interface to the MySQL database
ii libmysqlclient18 5.5.48+maria-1~trusty amd64 Virtual package to satisfy external depends
ii mariadb-common 5.5.48+maria-1~trusty all MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
ii module-init-tools 15-0ubuntu6 all transitional dummy package (module-init-tools to kmod)
ii mysql-common 5.5.48+maria-1~trusty all MariaDB database common files (e.g. /etc/mysql/my.cnf)
root@ubuntu-12:~# dpkg -l|grep perco
ii percona-xtrabackup 2.3.2-1.trusty amd64 Open source backup tool for InnoDB and XtraDB
I have 2 VM with IP 110.211.55.12 and 110.211.55.13, on the second node ip in config is 110.211.55.12.
I can add logs if you need.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Hello Sebastian,
I have couple of issues with your scripts:
for example:
init-connect = 'SET NAMES utf8'
on the result we will have mysqld ....
--init-connect=SET NAMES utf8 --character-set-server=utf8...
fix:
--wsrep-new-cluster
for initiating replication. Could you please add this tag?my configs
I have 2 VM with IP 110.211.55.12 and 110.211.55.13, on the second node ip in config is 110.211.55.12.
I can add logs if you need.
Thank you in advance.
The text was updated successfully, but these errors were encountered: