maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04327
Re: mysqldump 10.1.16
-
To:
maria-discuss@xxxxxxxxxxxxxxxxxxx
-
From:
Daniel Black <daniel.black@xxxxxxxxxxx>
-
Date:
Thu, 16 Feb 2017 15:09:46 +1100
-
In-reply-to:
<CAJZ9c4j8=NkjqzjDVg4+NvCeWJExC7b+jSwtgCJtGQDr8sSRog@mail.gmail.com>
-
Organization:
IBM
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
On 15/02/17 19:02, Karthick Subramanian wrote:
> All,
>
> I got a replciation problem and planned to take master server dump using
> below command and tried to restore in slave server:
>
> mysqldump --skip-lock-tables --single-transaction --flush-logs
> --hex-blob --master-data=1 -A --routines > ~/dump.sql
>
> I got into this error:
> https://jira.mariadb.org/browse/MDEV-10119
>
> Then I tried this method:
> http://lists.askmonty.org/pipermail/commits/2016-June/009504.html
>
> My question:
>
> Is it ok if the GIS procedure currently with definer as
> definer=`root@localhost`
yes. This is the proper state for the procedure.
> instead of blank as definer=`` for the
This is incorrect. Fix your Master_MariaDB. Drop the procedure and
create again as per maria_add_gis_sp.sql
> following two procs in mysql:
>
Use SHOW CREATE PROCEDURE mysql.AddGeometryColumn\G
https://mariadb.com/kb/en/mariadb/show-create-procedure/
to show information rather than selecting from the underlying tables.
> Slave_MariaDB [(none)]> select db, name, definer from mysql.proc;
> +---------+------------------------+-----------------+
> | db | name | definer |
> +---------+------------------------+-----------------+
> | mysql | AddGeometryColumn | root@localhost |
> | mysql | DropGeometryColumn | root@localhost |
>
>
> Master_MariaDB [(none)]> select db, name, definer from mysql.proc;
> +---------+------------------------+-----------------+
> | db | name | definer |
> +---------+------------------------+-----------------+
> | mysql | AddGeometryColumn | @ |
> | mysql | DropGeometryColumn | @ |
Follow ups
References