Цитата |
---|
Алексей Шафранский написал: Опять же, где детали? Тип сайта? Через меню создавался? Что в табличке mysql.user в колонке plugin? Что в логах? |
Алексей, здравствуйте! Извиняюсь. Уточнения. AlmaLinux, обновление с версии 9.0.4 до 9.0.6. Все крайние обновления на CMS. PHP 8.3. Сайты через меню, многосайтовость.
После обновления в меню
Код |
---|
bx_upgrade_mysql84_6450476821 | 27/03/2025 09:30 | finished | play|complete |
Лог error.log
Скрытый текст |
---|
2025-03-27T06:19:31.714159Z 0 [System] [MY-013172] [Server] Received SHUTDOWN fr om user <via user signal>. Shutting down mysqld (Version: 8.0.40-31). 2025-03-27T06:19:33.183845Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.40-31) Percona Server (GPL), Release 31, Revision 49317865. 2025-03-27T06:19:33.822251Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-32) starting as process 45711 2025-03-27T06:19:33.830564Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-03-27T06:19:34.214556Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2025-03-27T06:19:34.620178Z 4 [System] [MY-013381] [Server] Server upgrade from '80040' to '80041' started. 2025-03-27T06:19:42.445958Z 4 [System] [MY-013381] [Server] Server upgrade from '80040' to '80041' completed. 2025-03-27T06:19:42.588016Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-03-27T06:19:42.588035Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-03-27T06:19:42.598185Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/lib/mysql/mysqlx.sock 2025-03-27T06:19:42.598218Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.41-32' socket: '/var/lib/mysqld/mysqld.sock' port: 3306 Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:19:43.740636Z 11 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead' 2025-03-27T06:19:44.062291Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.41-32). 2025-03-27T06:19:46.554594Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.41-32) Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:19:47.173330Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-32) starting as process 46313 2025-03-27T06:19:47.176827Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-03-27T06:19:47.541185Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2025-03-27T06:19:47.723442Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-03-27T06:19:47.723460Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-03-27T06:19:47.742513Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/lib/mysql/mysqlx.sock 2025-03-27T06:19:47.742552Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.41-32' socket: '/var/lib/mysqld/mysqld.sock' port: 3306 Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:20:01.394619Z 9 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead' 2025-03-27T06:20:34.147671Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.41-32). 2025-03-27T06:20:35.251950Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.41-32) Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:20:35.940161Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-32) starting as process 83437 2025-03-27T06:20:35.944383Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-03-27T06:20:36.408996Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2025-03-27T06:20:36.643124Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-03-27T06:20:36.643142Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-03-27T06:20:36.673429Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.41-32' socket: '/var/lib/mysqld/mysqld.sock' port: 3306 Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:20:36.673666Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/lib/mysql/mysqlx.sock 2025-03-27T06:20:38.215187Z 9 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead' 2025-03-27T06:28:05.425858Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.41-32). 2025-03-27T06:28:06.357469Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.41-32) Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:28:18.616101Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-32) starting as process 1664 2025-03-27T06:28:18.627928Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-03-27T06:28:19.090025Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2025-03-27T06:28:19.284355Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-03-27T06:28:19.284373Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-03-27T06:28:19.314941Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/lib/mysql/mysqlx.sock 2025-03-27T06:28:19.314975Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.41-32' socket: '/var/lib/mysqld/mysqld.sock' port: 3306 Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T06:28:42.029151Z 11 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead' 2025-03-27T07:30:19.956743Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.41-32). 2025-03-27T07:30:21.730262Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.41-32) Percona Server (GPL), Release 32, Revision b8e378ec. 2025-03-27T07:30:42.333750Z 0 [System] [MY-015015] [Server] MySQL Server - start. 2025-03-27T07:30:42.507667Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.4-4) starting as process 14735 2025-03-27T07:30:42.512400Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-03-27T07:30:43.106589Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2025-03-27T07:30:43.111910Z 1 [System] [MY-011090] [Server] Data dictionary upgrading from version '80023' to '80300'. 2025-03-27T07:30:43.542407Z 1 [System] [MY-013413] [Server] Data dictionary upgrade from version '80023' to '80300' completed. 2025-03-27T07:30:46.689191Z 4 [System] [MY-013381] [Server] Server upgrade from '80041' to '80404' started. 2025-03-27T07:30:53.195668Z 4 [System] [MY-013381] [Server] Server upgrade from '80041' to '80404' completed. 2025-03-27T07:30:53.330661Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-03-27T07:30:53.330680Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-03-27T07:30:53.340279Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/lib/mysql/mysqlx.sock 2025-03-27T07:30:53.340304Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.4.4-4' socket: '/var/lib/mysqld/mysqld.sock' port: 3306 Percona Server (GPL), Release 4, Revision 844fde07.
|
SEL ECT User, Host, plugin FR OM mysql.user WH ERE User = 'userold';
Скрытый текст |
---|
+---------+-----------+-----------------------+ -> | User | Host | plugin | -> +---------+-----------+-----------------------+ -> | userold | % | mysql_native_password | -> | userold | localhost | mysql_native_password | -> +---------+-----------+-----------------------+ |
Попробовал исправить, сайт заработал. Корректен ли такой подход?
Код |
---|
ALTER USER 'userold'@'%' IDENTIFIED WITH caching_sha2_password BY 'new_password';
ALTER USER 'userold'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'new_password';
|