layout | group | subgroup | title | menu_title | menu_node | menu_order | version | github_link |
---|---|---|---|---|---|---|---|---|
default |
install_trouble |
20_other |
Error 'MySQL server has gone away' during installation |
Error 'MySQL server has gone away' during installation |
505 |
2.0 |
install-gde/trouble/tshoot_mysql_table-open-cache.md |
During installation, the following message displays:
MySQL server has gone away
Set the value of table_open_cache to a value of at least 250 as follows:
-
As a user with
root
privileges, open the MySQL configuration file in a text editor.Ubuntu:
/etc/mysql/my.cnf
CentOS:
/etc/my.cnf
-
Search for an existing
table_open_cache
setting. If there is none, add one. -
Set the value to at least 250:
table_open_cache=250
-
Save your changes to
my.cnf
and exit the text editor. -
As a user with
root
privileges, restart the MySQL service:Ubuntu:
service mysql restart
CentOS:
service mysqld restart