W
W
WebDev2015-11-17 16:05:10
MariaDB
WebDev, 2015-11-17 16:05:10

What is mysql error?

On the mysql5.6 locale, the query works, on the mariadb5.5.4 server it swears at the query

SQLSTATE[HY000]: General error: 2053 (SQL: INSERT IGNORE INTO viewed (user_id, post_id) SELECT users_subscriptions.user_id, data.id FROM users_subscriptions LEFT JOIN data ON data.entity_id = users_subscriptions.entity_id AND data.entity_type = 2 WHERE users_subscriptions.user_id = 2 GROUP BY data.id )

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chernykh, 2015-11-17
@sashkets

I recommend updating Maria to version 10. She is still based on mysql56

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question