Upgade error to ver 3.10

Upgade error to ver 3.10

Andrzej Kuzel -
回帖数:2

Hello

I have this problem when updating from 3.9 to 3.10

Please help and support 微笑


Error reading from database

More information about this error

Debug info: Table 'performance_schema.session_variables' doesn't exist
SHOW VARIABLES LIKE 'innodb_file_format'
[NULL]
Error code: dmlreadexception
Stack trace:
  • line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 354 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 2305 of /lib/upgradelib.php: call to mysqli_native_moodle_database->get_row_format()
  • line 736 of /lib/environmentlib.php: call to check_mysql_file_format()
  • line 482 of /lib/environmentlib.php: call to environment_custom_checks()
  • line 106 of /lib/environmentlib.php: call to environment_check()
  • line 105 of /admin/environment.php: call to check_moodle_environment()

-------------------------------------------------------------------

 mysql -V
mysql  Ver 14.14 Distrib 5.7.36, for Linux (x86_64) using  EditLine wrapper

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Jun 19 2018 15:45:13

php --version
PHP 7.3.25RC1 (cli) (built: Nov 10 2020 13:02:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.25RC1, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.25RC1, Copyright (c) 1999-2018, by Zend Technologies

回复Andrzej Kuzel

Re: Upgade error to ver 3.10

Leon Stringer -
Core developers的头像 Particularly helpful Moodlers的头像

That looks like a MySQL problem. A quick search suggests running mysql_upgrade (for example mysql_upgrade -u root -p). You normally need to run that when the MySQL version has been upgraded.

回复Leon Stringer

Odp: Re: Upgade error to ver 3.10

Andrzej Kuzel -
Hello
It helped - thank you very much for the quick and help.
everything is green -

I had to do: service mysqld restart
Stopping mysqld: [OK]
Starting mysqld: [OK]

and it's ok


Thank you and have a nice day