Posts: 1,046
Thanks: 4
Thanked 33 Times in 31 Posts
I found out that the error is wrong... there's some bug. In reality it means mysql wanted to open too many files and I needed to change my my.cnf to:
Quote:
[mysqld_safe]
open-files-limit=8192
Furthermore I did also change my routine on how I create the dumps. I don't make a big .sql file anymore containing all data but split it up and create for each db an own .sql file:
Quote:
#Dump new files
USER=root
PASSWORD=***
HOST=localhost
for i in $(echo 'SHOW DATABASES;' | mysql -u$USER -p$PASSWORD -h$HOST|grep -v '$
mysqldump \
-u$USER -p$PASSWORD -h$HOST \
-Q -c -C --add-drop-table --add-locks --quick --lock-tables \
$i > /mysql_backup/$i.sql;
done;
Recent comments
23 hours 33 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 9 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 5 hours ago