How to solve in Mysql

Reply

Join Date: Oct 2007
Posts: 26
Reputation: balagangadharm is an unknown quantity at this point 
Solved Threads: 0
balagangadharm balagangadharm is offline Offline
Light Poster

How to solve in Mysql

 
0
  #1
Nov 1st, 2007
hi everybody,
Iam using mysql.I have a login form in which user vl enter his name and password.Now when he/she types upper-case or lower-case in the username field,mysql unable to check the case.Is not mysql 4.0 not a case-sensitive.can anyone suggest how to solve it.
Bala Gangadhar Marripeedi m.balagangadhar@gmail.com
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,355
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: How to solve in Mysql

 
0
  #2
Nov 1st, 2007
I don't know that there is anything to solve. If you are using the database for authentication, and the database is not case-sensitive in this respect, then that is just the way it is. Maybe if explain more clearly than "I have a ogin form and the DB is not case-sensitive". As you can see, from the summary of your post, tht those two things have nothing to do with each other, so we don't really know what your problem is. I can say however, that if you are not using at least MySQL 4.0, then you should update, preferably to at least 5.0 (if not higher).
Last edited by masijade; Nov 1st, 2007 at 10:30 am. Reason: typos
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: How to solve in Mysql

 
0
  #3
Nov 1st, 2007
Never seen a database where a where-clause on a string wasn't case sensitive.
If mySQL isn't, it's clearly not standards compliant (not surprising, I've known that for years) and a piece of rubbish (I've known that for years as well).

Use a real database engine like Firebird instead.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC