Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的问题:我的数据库中有一个表调用用户,列密码适用于 md5,但是当我保存字符串时,例如:benjalucas(de643ebda0285edc22145bbd95c345e5)和pepe3421其他类似内容,我无法使用这些密码登录我的应用程序。
benjalucas(de643ebda0285edc22145bbd95c345e5)
pepe3421
密码列的结构是:
type - varchar(32) latin1_swedish_ci
问候!
您已经定义了列中的字符长度为 32,并且您的密码字符串是字符超过 32 个benjalucas(de643ebda0285edc22145bbd95c345e5),是 44 个字符,这个完整的字符串是54 个字符
本贾卢卡斯(de643ebda0285edc22145bbd95c345e5),pepe3421
尝试增加字段的长度