473,395 Members | 1,583 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.

Cannot restore from dump (phpMyadmin)

This may really be a phpMyAdmin problem, I think - but keen to hear your
thoughts. Any help appreciated.

Using phpMyAdmin to export an entire database works fine - I get a
mydatabase.sql file.

Restoring (using phpMyAdmin) usually work fine. However, if any of the data
in any of the fields contains the '#' character, it bombs out citing a
syntax error. I have tried escaping the character with '\' to no avail -
still gives syntax errors.

Seems strange that phpmyadmin dumps a file that will not restore...? I have
tried this on several versions of phpMyAdmin and get the same result every
time.

Have searched for ages looking for a solution, anyone else experienced thia?
solutions?

Thanks a lot

Peter Thomas
Jul 19 '05 #1
3 3006
I experienced a similar problem,
it seemed a difference in phpMyAdmin in the orignal (newer)
and where I wanted it (older).
No solution found except creating my own import script in PHP ;)
"mojo jojo" <th*****@chc.quik.co.nz> schreef in bericht
news:En********************@news.xtra.co.nz...
This may really be a phpMyAdmin problem, I think - but keen to hear your
thoughts. Any help appreciated.

Using phpMyAdmin to export an entire database works fine - I get a
mydatabase.sql file.

Restoring (using phpMyAdmin) usually work fine. However, if any of the data in any of the fields contains the '#' character, it bombs out citing a
syntax error. I have tried escaping the character with '\' to no avail -
still gives syntax errors.

Seems strange that phpmyadmin dumps a file that will not restore...? I have tried this on several versions of phpMyAdmin and get the same result every
time.

Have searched for ages looking for a solution, anyone else experienced thia? solutions?

Thanks a lot

Peter Thomas

Jul 19 '05 #2
I experienced a similar problem,
it seemed a difference in phpMyAdmin in the orignal (newer)
and where I wanted it (older).
No solution found except creating my own import script in PHP ;)
"mojo jojo" <th*****@chc.quik.co.nz> schreef in bericht
news:En********************@news.xtra.co.nz...
This may really be a phpMyAdmin problem, I think - but keen to hear your
thoughts. Any help appreciated.

Using phpMyAdmin to export an entire database works fine - I get a
mydatabase.sql file.

Restoring (using phpMyAdmin) usually work fine. However, if any of the data in any of the fields contains the '#' character, it bombs out citing a
syntax error. I have tried escaping the character with '\' to no avail -
still gives syntax errors.

Seems strange that phpmyadmin dumps a file that will not restore...? I have tried this on several versions of phpMyAdmin and get the same result every
time.

Have searched for ages looking for a solution, anyone else experienced thia? solutions?

Thanks a lot

Peter Thomas

Jul 19 '05 #3
I experienced a similar problem,
it seemed a difference in phpMyAdmin in the orignal (newer)
and where I wanted it (older).
No solution found except creating my own import script in PHP ;)
"mojo jojo" <th*****@chc.quik.co.nz> schreef in bericht
news:En********************@news.xtra.co.nz...
This may really be a phpMyAdmin problem, I think - but keen to hear your
thoughts. Any help appreciated.

Using phpMyAdmin to export an entire database works fine - I get a
mydatabase.sql file.

Restoring (using phpMyAdmin) usually work fine. However, if any of the data in any of the fields contains the '#' character, it bombs out citing a
syntax error. I have tried escaping the character with '\' to no avail -
still gives syntax errors.

Seems strange that phpmyadmin dumps a file that will not restore...? I have tried this on several versions of phpMyAdmin and get the same result every
time.

Have searched for ages looking for a solution, anyone else experienced thia? solutions?

Thanks a lot

Peter Thomas

Jul 19 '05 #4

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

Similar topics

10
by: Ryan | last post by:
We are planning on moving to a different server and was wondering if there was a way to make an archived dump of the database? If so, how would one go about doing such a thing. Thanks, Ryan
0
by: mojo jojo | last post by:
This may really be a phpMyAdmin problem, I think - but keen to hear your thoughts. Any help appreciated. Using phpMyAdmin to export an entire database works fine - I get a mydatabase.sql file. ...
2
by: Kees | last post by:
I've a backup from my database running on mysql 4.1.12 Now i want to restore this to an old machine running 3.23. How to do this. I get several errors. Kees
2
by: D. Dante Lorenso | last post by:
First I created a function that selected the next available pin code from a table of pre-defined pin codes: CREATE FUNCTION "public"."get_next_pin_code" () RETURNS varchar AS' DECLARE...
4
by: Hardy | last post by:
hi gurus, now I have to backup and restore a 8 T size db2 database. from two s85 to two 670. the partitions,tablespaces of the db should be redesigned then I plan to use redirected restore. but...
2
by: Jerry LeVan | last post by:
Hi, I am just getting into large objects and bytea "stuff". I created a small db called pictures and loaded some large objects and then tried to do a restore. Here is how I got the dump. ...
5
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup...
4
by: africantract | last post by:
Hi There, We have an issue on our db2 restores. We do database dumps every night, and restore them to development servers every morning. This works fine with no errors. However if we backup those...
2
by: clearissues | last post by:
Hi All, I have a python script which takes dump of postgres and restores the same. When i take a dump there is no problem. command to take dump: pg_dump -b -c -C --format=c -d -h <<hostname>>...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
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.