fw use wdb, not mysql.
assuming you have made correct toplist.conf (if not, copy tables = line from gamedbd conf to toplist.conf and setup directories in config like you have them setup ... )
here is script i wrote, that handles toplist for my own server.
Code:
#!/bin/sh
cd /root/toplist/
rm -f /root/toplist/dbdata/*
rm -f /root/toplist/dblogs/*
/bin/cp -rf /dbf/dbhomewdb/dbdata/* /root/toplist/dbdata
/bin/cp -rf /dbf/dbhomewdb/dblogs/* /root/toplist/dblogs
./toplist toplist.conf /root/toplist/
sleep 5
/usr/bin/killall -KILL toplist