•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 375,214 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,263 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 794 | Replies: 19
![]() |
I think you hit the nail dead center here. The data was downloaded via export function of phpmyadmin, and it seems now that the download stream may have been interupted or dipped or something, and there is some more data that is missing.
In the meantime, I re-exported the database, in gzip format, and this took only 2 seconds, which make me think that the zipfile may not even have something in it. On my pc, it does not want to open the gzip file, it tells me it may be corrupt.
However, I then tried to import the gzip to the server, and got the "not enough" memory error in phpmyadmin:
<b>Fatal error</b>: Allowed memory size of 16777216 bytes exhausted (tried to allocate 10201461 bytes) in <b>/usr/share/phpmyadmin/export.php</b> on line <b>81</b><br />
What does all this mean?
Thank you so much for your support and patience with me, and your proposal to view the data. If all else fails, I don't have a problem if you view the data.
In the meantime, I re-exported the database, in gzip format, and this took only 2 seconds, which make me think that the zipfile may not even have something in it. On my pc, it does not want to open the gzip file, it tells me it may be corrupt.
However, I then tried to import the gzip to the server, and got the "not enough" memory error in phpmyadmin:
<b>Fatal error</b>: Allowed memory size of 16777216 bytes exhausted (tried to allocate 10201461 bytes) in <b>/usr/share/phpmyadmin/export.php</b> on line <b>81</b><br />
What does all this mean?
Thank you so much for your support and patience with me, and your proposal to view the data. If all else fails, I don't have a problem if you view the data.
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
Webhostig and ISP Solutions in ZA
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,924
Reputation:
Rep Power: 9
Solved Threads: 221
Function has alocated only 10201461 bytes where as you can see you want 16777216 bytes. Try to create split version of whole DB. Like you have 10.000 records you put 5.000 in one file and other in next one. I can remember how I did it last time
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,057
Reputation:
Rep Power: 8
Solved Threads: 229
•
•
•
•
[root@cayenne /home/kletsker/mysqldump]# mysql kletsker_kletskerk < localhost.sql ERROR 1064 (42000) at line 89499: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''[ quote="Barend":3v' at line 1
I think (and I am not sure) the problem is with an extra quote ' in the query. It might have encountered a value like,for example, O'neil. This would terminate the query abruptly as in the following example.
insert into table (name,address) values ('O'neil','some address');
Anyway, maybe this can help.. http://www.webdevelopment2.com/impor...n-get-bigdump/
Last edited by nav33n : May 15th, 2008 at 8:14 am.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
*PM asking for help will be ignored*
*PM asking for help will be ignored*
I have downloaded and installed bigdump now, and changed the settings to connect to database as specified, but even bigdump cannot connect to the database.
Database connection failed due to Access denied for user '******'@'localhost' (using password: YES)
Edit the database settings in /home/****/public_html/dump/bigdump.php or contact your database provider
Now, the settings is the same as the database name, user and password.
What am I doing wrong?
Database connection failed due to Access denied for user '******'@'localhost' (using password: YES)
Edit the database settings in /home/****/public_html/dump/bigdump.php or contact your database provider
Now, the settings is the same as the database name, user and password.
What am I doing wrong?
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
Webhostig and ISP Solutions in ZA
•
•
•
•
Function has alocated only 10201461 bytes where as you can see you want 16777216 bytes. Try to create split version of whole DB. Like you have 10.000 records you put 5.000 in one file and other in next one. I can remember how I did it last time
I do not know how to do the split. What I am doing now, is to export/import the tabels one by one. I am now with the table containing the forum posts, and it looks like this table is the large one, as the import keeps on timing out.
Is there some geek out there that will help me export import this database I will pay for it if it is not too much you charge.
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
Webhostig and ISP Solutions in ZA
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,057
Reputation:
Rep Power: 8
Solved Threads: 229
Umm.. I just checked bigdump and it worked for me.. Well, I didn't check with over 50mb of data though.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
*PM asking for help will be ignored*
*PM asking for help will be ignored*
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
Webhostig and ISP Solutions in ZA
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,057
Reputation:
Rep Power: 8
Solved Threads: 229
Are you sure you have changed these configuration ?
•
•
•
•
$db_server = 'localhost';
$db_name = '';
$db_username = '';
$db_password = '';
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
*PM asking for help will be ignored*
*PM asking for help will be ignored*
jip, defnitly, I changed it, to the same details as created for this database. the server I left at "localhost"
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
Webhostig and ISP Solutions in ZA
Here is an update!
To summarize:
The original problem was, a sytax error when trying to upload a database in phpmyadmin.
This error was due to the fact that the databse was not complete, when exported, also via phpmyadmin, and without any error warnings only exported a part of the database.
The new problem, was, how to get this database exported, completely, without SSH access, and also, I am a bit scared as a novice to use this line commands.
After many attempts to download this huge database, in phpmyadmin, it just never did download completely, and any zip format in phpmyadmin did not work either.
I then contacted the owner of the server where this database is currently hosted, and asked them to export it for me and make it available for me to download with FTP.
This was done by the server owner, and this is where I am now, busy to get this huge database via FTP to my local hard drive. The total size of the zipped file is almost 160 megs, so I can just imagine that if uncompressed, it should be like almost be a Gig?
My next step wil be, to import this database onto the new server. I would like to keep this thread open, untill I installed it.
I felt it necessary to wrap this threat with this update, as it is a shame that mostly, unresolved threats just hang in the air, and poor monkeys like myself, waste a lot of time reading them, without getting to the solution.
What I learned so far:
phpmyadmin cannot handle large files, which is very sorry, because otherwise, it is a great tool to use.
To summarize:
The original problem was, a sytax error when trying to upload a database in phpmyadmin.
This error was due to the fact that the databse was not complete, when exported, also via phpmyadmin, and without any error warnings only exported a part of the database.
The new problem, was, how to get this database exported, completely, without SSH access, and also, I am a bit scared as a novice to use this line commands.
After many attempts to download this huge database, in phpmyadmin, it just never did download completely, and any zip format in phpmyadmin did not work either.
I then contacted the owner of the server where this database is currently hosted, and asked them to export it for me and make it available for me to download with FTP.
This was done by the server owner, and this is where I am now, busy to get this huge database via FTP to my local hard drive. The total size of the zipped file is almost 160 megs, so I can just imagine that if uncompressed, it should be like almost be a Gig?
My next step wil be, to import this database onto the new server. I would like to keep this thread open, untill I installed it.
I felt it necessary to wrap this threat with this update, as it is a shame that mostly, unresolved threats just hang in the air, and poor monkeys like myself, waste a lot of time reading them, without getting to the solution.
What I learned so far:
phpmyadmin cannot handle large files, which is very sorry, because otherwise, it is a great tool to use.
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
Webhostig and ISP Solutions in ZA
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
age amd avatar backup blue gene breach business chips coding compilers daniweb data data protection database development dos economy energy enterprise errors europe government hardware hp ibm ibm. news intel ibm it languages linux medicine memory microsoft news open source openoffice pc programming ps3 recession red hat security server sun supercomputer supercomputing technology trends ubuntu x86
- Previous Thread: How do you use output from linked server query?
- Next Thread: Stupid Error!!!



Linear Mode