Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

MySQL binary log errors

7 years 6 months ago
  • Rik's Avatar
    Topic Author
  • Rik
  • Offline
  • Junior Boarder
  • Posts: 114
  • Thank you received: 3
Licenses:
JomSocial Active Publisher Expired Socialize Expired

I recently upgraded MySQL and decided to watch its error log to see if there were any problems. I notice a bunch of warnings regarding the writing to JomSocial tables as shown below. Since these are programming issues there is nothing I can do on my end. Should I be concerned? Thanks. -- Rik

PS: Using JomSocial 4.2.5 and Joomla 3.6.2.

161013 14:25:04 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: DELETE `member` FROM `jos_community_events_members` member INNER JOIN `jos_community_events` event ON member.`eventid` = event.`id` WHERE member.`status`= '0' AND event.`enddate` < '2016-10-13 19:25:04'
161013 14:25:04 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: DELETE `featured`.* FROM `jos_community_featured` AS `featured` INNER JOIN `jos_community_events` AS `events` ON `events`.`id` = `featured`.`cid` WHERE `featured`.`type` = 'events' AND `events`.`enddate` < CURDATE()
161013 14:30:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: DELETE `member` FROM `jos_community_events_members` member INNER JOIN `jos_community_events` event ON member.`eventid` = event.`id` WHERE member.`status`= '0' AND event.`enddate` < '2016-10-13 19:30:01'
161013 14:30:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: DELETE `featured`.* FROM `jos_community_featured` AS `featured` INNER JOIN `jos_community_events` AS `events` ON `events`.`id` = `featured`.`cid` WHERE `featured`.`type` = 'events' AND `events`.`enddate` < CURDATE()
161013 14:35:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: DELETE `member` FROM `jos_community_events_members` member INNER JOIN `jos_community_events` event ON member.`eventid` = event.`id` WHERE member.`status`= '0' AND event.`enddate` < '2016-10-13 19:35:01'
161013 14:35:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave. Statement: DELETE `featured`.* FROM `jos_community_featured` AS `featured` INNER JOIN `jos_community_events` AS `events` ON `events`.`id` = `featured`.`cid` WHERE `featured`.`type` = 'events' AND `events`.`enddate` < CURDATE()

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Rik

Thank you for reporting, this is not important issue, just warning, but indeed we need to take care this.

Regards!

7 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Anyway, What mysql version are you using?

7 years 6 months ago
  • Rik's Avatar
    Topic Author
  • Rik
  • Offline
  • Junior Boarder
  • Posts: 114
  • Thank you received: 3
Licenses:
JomSocial Active Publisher Expired Socialize Expired

Dimas:

Dimas wrote: Anyway, What mysql version are you using?


MySQL 5.5.52.

Will mark this as fixed but hope that it can really be fixed on the next release.

Thanks. -- Ri

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW