Thanks! I’m doing it right now.
Holy Cow! what? It gave me an error the size of Montana! I’ve clipped the first few lines here…
[myuser@myserver ~]# mysql asteriskcdrdb < /var/bgm/cel.sql
ERROR at line 326: ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode. Set --binary-mode to 1 if ASCII '\0' is expected. Query: 'INSERT INTO `cel` VALUES (1457194,'CHAN_END','2015-03-29 10:10:07','1','1','','','','s','tc-maint','Local/s@tc-maint-0002305d;2','','','','','','',3,'','1427641807.316942','1427641807.316941','','','',''),(1457195,'LINKEDID_END','2015-03-29 10:10:07','1','1','','','','s','tc-maint','Local/s@tc-maint-0002305d;2','','','','','','',3,'','1427641807.316942','1427641807.316941','','','',''),(1457196,'CHAN_START','2015-03-29 10:11:00','','','','','','s','tc-maint','Local/s@tc-maint-0002305e;1','','','','','','',3,'','1427641860.316943','1427641860.316943','','','',''),(1457197,'CHAN_START','2015-03-29 10:11:00','','','','','','s','tc-maint','Local/s@tc-maint-0002305e;2',''
Allright. That didn’t work either. I think I liked the first error better.