Jump to content

Zmiana metoda porównywania napisów w MySQL


Arczi

Recommended Posts

Ponieważ nieudało mi się uzyskać pomocy w wątku - 

w ramach przypomnienia:

Przy aktualizacji 1-Click Upgrade z wersji 1.7.6.9 do wyższych wersji  na końcu otrzymuję komunikat o błędzie: 

SQL 1.7.7.0 1709 in ALTER TABLE `ps_configuration` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.
SQL 1.7.7.0 1709 in ALTER TABLE `ps_connections_source` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.
SQL 1.7.7.0 1709 in ALTER TABLE `ps_customer` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.
SQL 1.7.7.0 1709 in ALTER TABLE `ps_employee` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.
SQL 1.7.7.0 1709 in ALTER TABLE `ps_order_state` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.
SQL 1.7.7.0 1709 in ALTER TABLE `ps_page_type` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.
SQL 1.7.7.0 1709 in ALTER TABLE `ps_smarty_cache` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Index column size too large. The maximum column size is 767 bytes.

 

kombinuję dalej i próbuję ręcznie zmienić kodowanie bezpośrednio w MySQL i wyrzuca mi ten sam komunikat co w 1-Click Upgrade - ponieważ w tym temacie jestem zielony może ktoś podpowie jak się do tego zabrać ... ??

 

1.thumb.png.c7cfef3a1655c261d4b152494b8f4863.png

2.thumb.png.b09de3c7d4f8e155b3c581bee3b3e055.png

 

Edited by Arczi (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Udało mi się znaleźć rozwiązanie - gdyby ktoś miał podobny problem należy skorzystać z instrukcji:

ALTER TABLE `ps_configuration` ROW_FORMAT=DYNAMIC;
ALTER TABLE `ps_connections_source` ROW_FORMAT=DYNAMIC;
ALTER TABLE `ps_customer` ROW_FORMAT=DYNAMIC;
ALTER TABLE `ps_employee` ROW_FORMAT=DYNAMIC;
ALTER TABLE `ps_order_state` ROW_FORMAT=DYNAMIC;
ALTER TABLE `ps_page_type` ROW_FORMAT=DYNAMIC;
ALTER TABLE `ps_smarty_cache` ROW_FORMAT=DYNAMIC; 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...