Ошибки mysql в смартах ( разные )

Post Reply
tgptraffic_biz
Posts: 182
Joined: Fri Nov 16, 2018 2:59 pm

Ошибки mysql в смартах ( разные )

Post by tgptraffic_biz »

Добрый день. В последний месяц-полтора стал регулярно замечать множество ошибок типа Core Error в разных смартах. До этого на тех же серверах и настройках не было ошибок. Обсудил с админами, они отправили к вам.
Для примера скину какие ошибки вылезают

Core error: Mysql error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP, country_code char(2) NOT NU' at line 3 (CREATE TABLE broker_zone_stats ( zone_id int(10) unsigned NOT NULL, datetime datetime DEFAULT CURRENT_TIMESTAMP NOT NULL DEFAULT_GENERATED on update CURRENT_TIMESTAMP, country_code char(2) NOT NULL, test_shows int(10) unsigned NOT NULL, impressions int(10) unsigned NOT NULL, clicks int(10) unsigned NOT NULL, revenue decimal(6,4) unsigned DEFAULT '0.0000' NOT NULL, cpc decimal(6,4) NOT NULL, KEY datetime (datetime) ))

Core error: Mysql error 1146: Table 'bhabhiporn_tcms.broker_zone_stats' doesn't exist (SELECT * FROM broker_zone_stats ORDER BY datetime DESC LIMIT 10000)


Core error: Mysql error 1146: Table 'mom_sex_tcms.trader_group_urls' doesn't exist (SELECT * FROM trader_group_urls )

Core error: Mysql error 1054: Unknown column 'gt.extra_thumb' in 'field list' (Please, run update. If it doesnt help - contact script support)

Core error: Mysql error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT_GENERATED on update CURRENT_TIMESTAMP, country_code char(2) NOT NU' at line 3 (CREATE TABLE broker_zone_stats ( zone_id int(10) unsigned NOT NULL, datetime datetime DEFAULT CURRENT_TIMESTAMP NOT NULL DEFAULT_GENERATED on update CURRENT_TIMESTAMP, country_code char(2) NOT NULL, test_shows int(10) unsigned NOT NULL, impressions int(10) unsigned NOT NULL, clicks int(10) unsigned NOT NULL, revenue decimal(6,4) unsigned DEFAULT '0.0000' NOT NULL, cpc decimal(6,4) NOT NULL, KEY datetime (datetime) ))

Core error: Mysql error 1146: Table 'mom_sex_tcms.broker_zone_stats' doesn't exist (SELECT * FROM broker_zone_stats ORDER BY datetime DESC LIMIT 10000)


Core error: Mysql error 1213: Deadlock found when trying to get lock; try restarting transaction (INSERT INTO rot_search_queries SET search_query = 'big miffi', search_query_limit = 'en', hits = '1', date = NOW() ON DUPLICATE KEY UPDATE hits = hits + 1)

Core error: Mysql error 1213: Deadlock found when trying to get lock; try restarting transaction (INSERT INTO rot_search_queries SET search_query = 'hentai', search_query_limit = 'E2', hits = '1', date = NOW() ON DUPLICATE KEY UPDATE hits = hits + 1)


Ну и еще много других типов ошибок, все связаны с mysql.
Как с этим бороться или жить так ? Хотелось бы разобраться что происходит.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Ошибки mysql в смартах ( разные )

Post by admin »

все эти ошибки раньше писало в script messages на который многие забивают
поэтому что б привлечь внимание к ошибкам которые имеют значение их вывели на home где они более видны

что делать: удалить то что есть, смотреть за новыми, сейчас у вас там ошибки все старые наверняка, вижу там апдейт не проведен, где-то винт был перегружен и тп
Don't forget to run script update
Post Reply