mak@sol ~/.go/src/gitlab.com/mak-alex/talapricing $ ssh talapai@vs02.talapai.kz Last login: Thu May 23 13:09:10 2019 from 89.20.48.161 [talapai@vs02.talapai.kz ~]$ mysql -utalapai -pm9zUtMNSq0ap parsers mysql: [Warning] Using a password on the command line interface can be insecure. Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 102765402 Server version: 5.7.24-log MySQL Community Server (GPL) Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> select * from products_bindings limit 10; +-------+--------------------+-----------------+---------+ | id | talapai_product_id | shop_product_id | shop_id | +-------+--------------------+-----------------+---------+ | 9900 | 15 | 9359 | 7 | | 2218 | 15 | 2900011 | 1 | | 10587 | 27 | 22500134 | 1 | | 10653 | 28 | 22500139 | 1 | | 9212 | 39 | 10187 | 7 | | 2660 | 39 | 3601163 | 1 | | 15226 | 40 | 9802 | 7 | | 12853 | 40 | 36697 | 5 | | 12852 | 40 | 694088 | 4 | | 12851 | 40 | 3600775 | 1 | +-------+--------------------+-----------------+---------+ 10 rows in set (0.00 sec) mysql> select * from products_bindings where talapai_product_id=15; +------+--------------------+-----------------+---------+ | id | talapai_product_id | shop_product_id | shop_id | +------+--------------------+-----------------+---------+ | 9900 | 15 | 9359 | 7 | | 2218 | 15 | 2900011 | 1 | +------+--------------------+-----------------+---------+ 2 rows in set (0.00 sec) mysql> delete from products_bindings where shop_product_id=2900011 and talapai_product_id=15 and shop_id=1;