473,395 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Null characters in mysql log file

Greetings.

I am trying to diagnose a problem I have encountered in mysql, and
would sincerely apprecaiate any help. Mysql is running generally fine,
but we have noticed that our log files are enormous in size prior to
compression (most recent is 2.5 gigs) and that these log files seem to
contain a great deal of null (\0) characters in set locations
throughout. We are running Debian stable with a locally compiled and
installed mysql 4.0.16-2. The nulls appear in the following manner in
the logs:

031203 3:41:11 19630 Query UPDATE loginblock SET
createtime=createtime,
updatetime=1070440639, gametime = '1070440605', blocknumber = '0',
numlogins
= '69', logins = '<92>\0F<90>r<D0>4\0\0\0\0\0cPF<80><D2>@<AA><D0>\0 \03<A0><86>
<80>^^ 2@<AE> s<90>I<D0><A3><D0>\Z<80><A6><90>\0\0q<C0>\0\0<B0>< 80>\r^P<CB>`<85>
<90>K<D0>\0\0\0\0\0\0b^P^`\0\0:<90><B1><A0>^T
N<80>\0\0$<90>^U<90>q@<9C>`B`\0\0\
0\0<C4>@<80><E0>s^P<CD><E0>\0\0\0\02^P\0\0\0\0\Z<8 0>k\0\0\0\0\0<AD>^PC@<B9>
<B1>
<E0>3`\Z<80>\0\0\0\0\0\0\0\0^L<D0><92><90>R<90><93 ><90>c\0<A1><C0><8B><C0>p`X
<90>0<E0>T^P\0\0<BD>`\0\0\0\0\0\0\0\0\0\0^U^P<D2>@ y\0t<80><8E><90><A8><80>\0\0UP
\0\0\0\0t@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
.... <snipped as it is just \0s for the next thousand lines or so>
Has this ever been observed by anyone else? I have searched high and
low, but not found anything like this as observed by anyone else and
so documented. I will of course gladly provide further information as
requested.


--

- gnostic
Jul 19 '05 #1
2 2182

What version of gcc are you using? I read somewhere that 2.96 (?) was
unreliable for building mysql. If in doubt, you could recompile with a
different version and try to reproduce your problem.

John
gnostic wrote:
Greetings.

I am trying to diagnose a problem I have encountered in mysql, and
would sincerely apprecaiate any help. Mysql is running generally fine,
but we have noticed that our log files are enormous in size prior to
compression (most recent is 2.5 gigs) and that these log files seem to
contain a great deal of null (\0) characters in set locations
throughout. We are running Debian stable with a locally compiled and
installed mysql 4.0.16-2. The nulls appear in the following manner in
the logs:

031203 3:41:11 19630 Query UPDATE loginblock SET
createtime=createtime,
updatetime=1070440639, gametime = '1070440605', blocknumber = '0',
numlogins
= '69', logins = '<92>\0F<90>r<D0>4\0\0\0\0\0cPF<80><D2>@<AA><D0>\0 \03<A0><86>
<80>^^ 2@<AE> s<90>I<D0><A3><D0>\Z<80><A6><90>\0\0q<C0>\0\0<B0>< 80>\r^P<CB>`<85>
<90>K<D0>\0\0\0\0\0\0b^P^`\0\0:<90><B1><A0>^T
N<80>\0\0$<90>^U<90>q@<9C>`B`\0\0\
0\0<C4>@<80><E0>s^P<CD><E0>\0\0\0\02^P\0\0\0\0\Z<8 0>k\0\0\0\0\0<AD>^PC@<B9>
<B1>
<E0>3`\Z<80>\0\0\0\0\0\0\0\0^L<D0><92><90>R<90><93 ><90>c\0<A1><C0><8B><C0>p`X
<90>0<E0>T^P\0\0<BD>`\0\0\0\0\0\0\0\0\0\0^U^P<D2>@ y\0t<80><8E><90><A8><80>\0\0UP
\0\0\0\0t@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
... <snipped as it is just \0s for the next thousand lines or so>
Has this ever been observed by anyone else? I have searched high and
low, but not found anything like this as observed by anyone else and
so documented. I will of course gladly provide further information as
requested.


--

- gnostic

Jul 19 '05 #2

What version of gcc are you using? I read somewhere that 2.96 (?) was
unreliable for building mysql. If in doubt, you could recompile with a
different version and try to reproduce your problem.

John
gnostic wrote:
Greetings.

I am trying to diagnose a problem I have encountered in mysql, and
would sincerely apprecaiate any help. Mysql is running generally fine,
but we have noticed that our log files are enormous in size prior to
compression (most recent is 2.5 gigs) and that these log files seem to
contain a great deal of null (\0) characters in set locations
throughout. We are running Debian stable with a locally compiled and
installed mysql 4.0.16-2. The nulls appear in the following manner in
the logs:

031203 3:41:11 19630 Query UPDATE loginblock SET
createtime=createtime,
updatetime=1070440639, gametime = '1070440605', blocknumber = '0',
numlogins
= '69', logins = '<92>\0F<90>r<D0>4\0\0\0\0\0cPF<80><D2>@<AA><D0>\0 \03<A0><86>
<80>^^ 2@<AE> s<90>I<D0><A3><D0>\Z<80><A6><90>\0\0q<C0>\0\0<B0>< 80>\r^P<CB>`<85>
<90>K<D0>\0\0\0\0\0\0b^P^`\0\0:<90><B1><A0>^T
N<80>\0\0$<90>^U<90>q@<9C>`B`\0\0\
0\0<C4>@<80><E0>s^P<CD><E0>\0\0\0\02^P\0\0\0\0\Z<8 0>k\0\0\0\0\0<AD>^PC@<B9>
<B1>
<E0>3`\Z<80>\0\0\0\0\0\0\0\0^L<D0><92><90>R<90><93 ><90>c\0<A1><C0><8B><C0>p`X
<90>0<E0>T^P\0\0<BD>`\0\0\0\0\0\0\0\0\0\0^U^P<D2>@ y\0t<80><8E><90><A8><80>\0\0UP
\0\0\0\0t@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
... <snipped as it is just \0s for the next thousand lines or so>
Has this ever been observed by anyone else? I have searched high and
low, but not found anything like this as observed by anyone else and
so documented. I will of course gladly provide further information as
requested.


--

- gnostic

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frlo | last post by:
Hi, I have problem that I tried to solve but i missed out. My situation: I have problem that my page www.vodotika.sk display some wrong characters. Apache server 2.0.54 runs on windows-1250...
0
by: gnostic | last post by:
Greetings. I am trying to diagnose a problem I have encountered in mysql, and would sincerely apprecaiate any help. Mysql is running generally fine, but we have noticed that our log files are...
3
by: Albretch | last post by:
I am trying to insert some textual data belonging to an HTML page into a table column with 'TEXT' as data type mysql's maual _/manual.html#String_types tell you, you may insert up to (2^16 - 1),...
1
by: Greg.Harabedian | last post by:
I'll start off by saying I am using MySQL v4.0 and my question is...how do I get mysqldump to dump the actual binary values store in a blob? Here is an example: -- Create a test table create...
19
by: Baldur Norddahl | last post by:
Hi, How come "X=null" is not the same as "X is null"? I got a few selects with queries like this: select * from foo where customer=#customer# or (#customer# is null and customer is null) ...
35
by: David Mathog | last post by:
Every so often one of my fgets() based programs encounters an input file containing embedded nulls. fgets is happy to read these but the embedded nulls subsequently cause problems elsewhere in...
3
by: Taras_96 | last post by:
Hi everyone, I'm having a bit of trouble understanding the purpose of escaping nulls, and the use of addcslashes. Firstly, the manual states that: "Strictly speaking, MySQL requires only...
6
by: TheRealDan | last post by:
Hi all. I'm having a problem with a special characters. I have php script that reads from an xml file and writes to a mysql db. It's a script called phptunest that I found on the net, although the...
6
by: Steve | last post by:
Hi. I need to store chinese characters and Pinyins in a mysql database and then read them from php and using the GD library and imagettftext() function to create an image based on a chinese ttf...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.