Hi Tristan,
Lets try to re-create sqlgrey database from scracht in case is corrupted.
stop sqlgrey
#god stop sqlgrey
backup it for sure
# mysqldump sqlgrey > /root/sqlgrey.sql
drop db
#mysql -e "drop database sqlgrey;"
create new empty db from scratch
#/usr/local/bin/mysqladmin create sqlgrey
set privilegies
#/usr/local/bin/mysql -e "grant all privileges on sqlgrey.* to 'sqlgrey'@'localhost' identified by 'sqlgrey';"
run sqlgrey, will fill db during start
#/usr/local/sbin/sqlgrey -d
set primary key
#/usr/local/bin/mysql sqlgrey -e "alter table connect add id int primary key auto_increment first;"
kill sqlgrey
#ps ax| grep sqlgrey | awk '{print $1}' | xargs kill -9
run it in standard way
#god start sqlgrey
Cheers
David