MySQL Export database error: Error 1030 (HY000): Got error from storage engine

Source: Internet
Author: User
Tags mysql export database

When exporting the Test.sql database on Linux, an error has occurred: Error1030 (HY000): Got error from storage engine. I checked this out later because MySQL has insufficient default temporary directory space to execute this SQL statement:

Command line execution under: Show variables like '%dir% ',

Basedir | /usr/local/mysql |
| Binlog_direct_non_transactional_updates | OFF |
| Character_sets_dir | /usr/local/mysql/share/charsets/|
| DataDir | /xx/mysql/var/|
| Innodb_data_home_dir | /xxg/msql/var |
| Innodb_log_group_home_dir | /xx/mysql/var |
| innodb_max_dirty_pages_pct | 75 |
| Lc_messages_dir | /usr/local/mysql/share/|
| Plugin_dir | /usr/local/mysql/lib/plugin/|
| Slave_load_tmpdir | /tmp |
| Tmpdir | /tmp

You can see that the current temp directory for MySQL is/tmp, and then DF-HL or du-sh/tmp to see if the directory still has space, the result is not enough space, so modify the configuration file/etc/my.cnf, under "mysqld" add Tmpdir =/xx/tmp. Save, restart, export again is not the problem.

Note: Sometimes modifying a configuration file, such as/etc/my.cnf,wq, will prompt for E514:write error (file system full), and it is possible that the disk space for the directory where the/etc/resides is lost.


MySQL Export database error: Error 1030 (HY000): Got error from storage engine

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.