Your create table statement is incorrect. This will work (tested on SQLFiddle)
create table issuebooks(
bkid varchar(255) references bkid(books),
memid varchar(255) references memid(members),
issuestatus varchar(255),
primary key (bkid,memid)
);
Advice... use integer id columns instead of VARCHAR(255) if you can... you won't regret it. And make those columns NOT NULL.