I shut down MySQL, moved everything to a new directory (on the same server), updated the my.cnf file, and restarted MySQL. It worked the first time I tested it but on the second one while you can see that the database is being updated the CDR report cant seem to access it. I made sure the directory and the database had the same permissions.
Any suggestions on where to look? Is there anywhere in the GUI to point the report at the right place?
Check the ‘hostname’.err file in the /var/db/MySQL (or wherever you moved the data root to) directory. The last entry should have information about why MySQL is failing.
Another ignorant question: does this procedure require enough space on the disk to completely duplicate the table being repaired? Or will it just take longer if there isn’t a ton of space on the disk?
Its been running for about 40 minutes and ate up all the disk space now. I guess I didn’t have an extra 5 gb for it to use up…
The good news is that asterisk is still running fine and I can get in via SSH but the GUI is broken and its not actually writing anything to the database.