Database error

ERROR From DB mySQL

DB Error: Database query failed!
» Error No: 1194
» Error detail: Table 'bd_estore_online_users' is marked as crashed and should be repaired
» Query: SELECT * FROM bd_estore_online_users WHERE store_id = '7634' AND uid='0' AND usertype='0' AND ip='107.20.28.48' Database error

ERROR From DB mySQL

DB Error: Database query failed!
» Error No: 1062
» Error detail: Duplicate entry '1077365' for key 'PRIMARY'
» Query: INSERT INTO bd_estore_online_users (id,store_id,sid,uid,username,usertype,ip,last_updated,last_page) VALUES (NULL,'7634','cen2iqjji5l2eoko7pbisj6d33','0','Guest','0','107.20.28.48','2016-05-02 10:35:45','/post/7634/432389')