uhm, try the following query:
create table login (
user_id int(4) unsigned zerofill not null,
user_pwd varchar(100) not null,
primary key(user_id)
);
the password is now a varchar that is 100 long...
but you won't really need the unsigned and zerofill stuff... it's not useful, especially not for a login.
if you don't want to use it, do this query:
create table login (
user_id int not null,
user_pwd varchar(100) not null,
primary key(user_id)
);