Home > Database > Mysql Tutorial > body text

What should I do if mysql error code 1114 occurs?

coldplay.xixi
Release: 2020-10-23 16:28:07
Original
4123 people have browsed it

The solution to the error code 1114 in mysql: first modify [max_heap_table_size = 256M] [tmp_table_size = 256M] in [my.cnf]; then restart the MySQL service.

What should I do if mysql error code 1114 occurs?

Solution to error code 1114 in mysql:

1. Modify max_heap_table_size = 256M in my.cnf tmp_table_size = 256M, restart the MySQL service

2. Check innodb_data_file_path = ibdata1:10M:autoextend in my.cnf. The original size is allocated 10M, and it will automatically grow after exceeding it. The maximum growth can be set.

innodb_data_home_dir can configure where the ibdata1 file is stored. You can also configure the directory directly in the innodb_data_file_path parameter. If you do not specify home, it will be in the data directory under the MySQL home directory.

More related free learning recommendations: mysql tutorial(Video)

The above is the detailed content of What should I do if mysql error code 1114 occurs?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!