MySQL Forums
Forum List  »  Newbie

Wrong Bool from database
Posted by: Les Good
Date: March 09, 2020 02:17PM

Not sure if this is the right place, but here is my problem. I am using MySQL 5.1 community for my at home use and for an in house database at a small shop. I just installed MySQL 5.7 on a machine at home. I did a back up from the 5.1 and did get it to restore on the new machine with 5.7. Now my issue. The program I use reads & writes data that is stored on the 5.1 Database just fine, strings, Integers and Boolean just fine. The same program will read everything on 5.7 fine except for the Booleans. Everything is always false. Yet I can use the command line for 5.7 and the proper Booleans are in the database. 0's & 1's. I can do a query using the Boolean to be true or false and I get the right data. I have not figured out the issue here. Going to MySQL 8 is not an option. Any help or suggestions would be appreciated.

Options: ReplyQuote


Subject
Written By
Posted
Wrong Bool from database
March 09, 2020 02:17PM
March 09, 2020 06:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.