Hello,
I am operating under the assumption this is the second attempt of a new install and that the first attempt failed to properly populate the DB.
I suggest you drop the current corrupted DB by calling:
# /opt/kaltura/bin/kaltura-drop-db.sh
and then rerun kaltura-config-all.sh.
Note that if this is NOT a new install, then at some point something corrupted your DB, in which case, if you have backups, you should try to restore and if you do not have backups, you should first backup the current broken DB, then drop it, repopulate it and then we can see what can be salvaged from the corrupted one and imported to the new.