473,405 Members | 2,300 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,405 software developers and data experts.

Perplexing problem

I have an application, DipperBase, that keeps astronomical images in a
mysql database. The actual images are stored in a blob field. To get
some test data, I downloaded some SEDS images of Messier objects, freely
available on the intenet. I have been havinng dificulty uploading the
SEDS images using mysqldump method.

My ap has two ways to upload my database to
server on the internet (for inclusion in a web page.)

1. My program can connect directly to the server's mysql database and do a
record by record copy.
2. My program can start a mysqldump command to dump the database.

The first method works fine, but with a dial up connection it is rather
slow.

The second method works fine with my personal images (and a NASA image,)
but the SEDS images never display after the upload. I have tried two
seperate methods of using mysqdump to get the data backed up.

The first method issued the following:

c:\mysql\bin\mysqldump -r \mysql\dumpdir\backup.dmp --user=myuser
--password=mypassword mydatabase

per a sugestion from bobb, I also tryed using the "--opt" switch.

The second method involved doing the following steps.
a. Backing up just my lookup tables with the following command:

c:\mysql\bin\mysqldump -r \mysql\dumpdir\backup.dmp --user=myuser
--password=mypassword mydatabase table1 table2 table3 tableN

b. Updating the object table with an integer value of the record number.
And then issuing first a

c:\mysql\bin\mysqldump "-w RecNbr>=1 and RecNbr <=5" -r \mysql\dumpdir\Obj0.dmp --user=myuser
--password=mypassword mydatabase object

1 and 5 is based upon a block size that the user enters.

and then I would follow up with

c:\mysql\bin\mysqldump -t "-w RecNbr>=6 and RecNbr <=10" -r
\mysql\dumpdir\Obj1.dmp --user=myuser
--password=mypassword mydatabase object

and this loop would repeat until the table is completely backed up.

Everything resulted in my SEDS images not being viewable on the web
page when using mysqldump as the coping method. I don't think it is a
size issue, since my images and the NASA image are of equal size as the
SEDS images. I also don't beleive it is a timeout issue.

Could there be something in the SEDS images that is messing me up and is
there a work around. It should be noted that the web page attributes the
SEDS images to SEDS.

The local machine is running Win98 and my program is written in Delphi 4.
The test server machine is running RedHat 8 and both are running MySQL 3.23

--
Author of Dipperbase (www.HaimannOnline.com/DipperBase)
A Astronomy Image database, which allows upload to the web.
Currently in alpha-testing.
Jul 19 '05 #1
0 1170

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

Similar topics

2
by: mark.richards | last post by:
At first I thought this error had to do with a timeout problem, but now I am almost certain it has direct bearing on the size of the data that I am posting. I am using a simple form: <?php...
0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
13
by: sd00 | last post by:
Hi all, can someone give me some coding help with a problem that *should* be really simple, yet I'm struggling with. I need the difference between 2 times (Target / Actual) However, these times...
0
by: Aconquija | last post by:
Hello, I am battling a long term problem regarding integrated authentication and impersonation. I have an intranet that uses only integrated authentication to validate my users. The web site is...
0
by: sudosue | last post by:
I have a systems analyst who came to me with a problem with retrieving a PDF file from a clients website. I've reduced the explaination to the bare facts thus if you need more information just let...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.