Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6719499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:06:00+00:00 2026-05-26T09:06:00+00:00

I am saving a serialized object to a mysql database blob. After inserting some

  • 0

I am saving a serialized object to a mysql database blob.

After inserting some test objects and then trying to view the table, i am presented with lots of garbage and “PuTTYPuTTY” several times.

I believe this has something to do with character encoding and the blob containing strange characters.

I am just wanting to check and see if this is going to cause problems with my database, or if this is just a problem with putty showing the data?

Description of the QuizTable:

+-------------+-------------+-------------------+------+-----+---------+----------------+---------------------------------+-------------------------------------------------------------------------------------------------------------------+
| Field       | Type        | Collation         | Null | Key | Default | Extra          | Privileges                      | Comment                                                                                                           |
+-------------+-------------+-------------------+------+-----+---------+----------------+---------------------------------+-------------------------------------------------------------------------------------------------------------------+
| classId     | varchar(20) | latin1_swedish_ci | NO   |     | NULL    |                | select,insert,update,references | FK related to the ClassTable. This way each Class in the ClassTable is associated with its quiz in the QuizTable. |
| quizId      | int(11)     | NULL              | NO   | PRI | NULL    | auto_increment | select,insert,update,references | This is the quiz number associated with the quiz.                                                                 |
| quizObject  | blob        | NULL              | NO   |     | NULL    |                | select,insert,update,references | This is the actual quiz object.                                                                                   |
| quizEnabled | tinyint(1)  | NULL              | NO   |     | NULL    |                | select,insert,update,references |                                                                                                                   |
+-------------+-------------+-------------------+------+-----+---------+----------------+---------------------------------+-------------------------------------------------------------------------------------------------------------------+

What i see when i try to view the table contents:

select * from QuizTable;

questionTextq ~ xp    sq ~    w
t q1a1t q1a2xt 1t q1sq ~     sq ~    w
t q2a1t q2a2t q2a3xt 2t q2xt test3 |           1 |
+-------------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+
3 rows in set (0.00 sec)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:06:01+00:00Added an answer on May 26, 2026 at 9:06 am

    I believe you can use the hex function on blobs as well as strings. You can run a query like this.

    Select HEX(quizObject) From QuizTable Where....
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to store some objects in an SQL Server Compact (SQL CE)
Saving a Word 2003 document to XML and then back results in a reduced
After saving a String value into memcached using the Danga client, I attempted to
I am saving some small images to Xml as a Byte[] via the following
I'm having trouble saving a new row in the DataGridView back to the database.
The object I'm saving to the session is a LocalizationContext , which is not
How do you organize and manage your helper objects like the database engine, user
Using Google protobuf, I am saving my serialized messaged data to a file -
In Ruby any object can be transferred, i.e. serialized, to a YAML document by
I'm trying to implement loading and saving for a game I'm working on. What

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.