Re: Error importing databases in mysql: ERROR 1005 (HY000) (errno:-1)
Posted by: Rick James
Date: May 19, 2014 04:15PM

innodb_buffer_pool_size, currently 128M, increase it to 1G or more.

In the OS, do ulimit -n -- it will probably limit you to 1024. Suggest increasing that.

Run the SHOW GLOBAL STATUS after mysql has been in use for more than a day; this will improve the validity of the conclusions.

innodb_log_file_size may need increasing. But it means doing a clean shutdown, changing the setting, removing the iblog* files, and restarting.

thread_cache_size is probably not an issue.

Have you spotted what settings are different between the machines? Or what activity is different? Or maybe the tables are much bigger in one than the other?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.