| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Wed Jun 08, 2005 4:25 am Post subject: Re: database recovery |
|
| Code:: |
ENGINE=MyISAM DEFAULT CHARSET=latin1 |
Is a special MySQL 4.x command and will not work on every system.
Removing those crappy phpmyadmin parts will make it more versatile.
It's best to use the Dragonfly CMS DB backup utility since it will take those issues and others (like FULLTEXT) into account
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
tank Gold Supporter


Offline Joined: Apr 20, 2004 Posts: 824 Location: Houston, Texas USA
|
Posted: Wed Jun 08, 2005 12:52 pm Post subject: Re: database recovery |
|
If you don't get it I'll help you out tonight.
_________________ Search is your friend
tank's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora Core 1, Apache 1.3.33, Mysql 4.1.14, PHP 5.0.5 w/ APC cache, Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
ilamos Nice poster


Offline Joined: Dec 27, 2004 Posts: 82
|
Posted: Thu Jun 09, 2005 7:16 am Post subject: Re: database recovery |
|
Still no luck. I would appreciate any help. I posted my contact info twice on the previous page so let me know when you want to help me.
ilamos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) RedHat 9 i686/Apache 1.3.33 (Unix)/MySQL 4.0.24-standard/Dragonfly 9.0.3.0
|
|
| Back to top |
|
 |
tank Gold Supporter


Offline Joined: Apr 20, 2004 Posts: 824 Location: Houston, Texas USA
|
Posted: Thu Jun 09, 2005 8:17 pm Post subject: Re: database recovery |
|
Got busy last night. Should be able to help tonight. I'll contact you.
_________________ Search is your friend
tank's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora Core 1, Apache 1.3.33, Mysql 4.1.14, PHP 5.0.5 w/ APC cache, Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
RECON Newbie


Offline Joined: Sep 07, 2005 Posts: 22 Location: TH-MY-DE-UKR
|
Posted: Fri Sep 09, 2005 6:29 am Post subject: Re: database recovery RESTORE DATABASE |
|
How to restore the whole database backup.
Importing the database if its big one on another server for example or if needed to restore the latest backup?
I know there must be some skripts around but i cant found any of them to import simple and easy my database file to the mysql.
Who know some solutions
I think i dont have ssh. There must be some scripts but i coudnt found any restore script.
Mmany thanks.
_________________

RECON's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2)
|
|
| Back to top |
|
 |
Head-e Silver Supporter


Offline Joined: Apr 20, 2004 Posts: 937
|
Posted: Fri Sep 09, 2005 8:37 am Post subject: Re: database recovery |
|
admin.php?op=database
under Import SQL File
or login to your phpmyadmin and load the .sql backup
Head-e please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
RECON Newbie


Offline Joined: Sep 07, 2005 Posts: 22 Location: TH-MY-DE-UKR
|
Posted: Fri Sep 09, 2005 11:22 am Post subject: Re: database recovery |
|
Thanks i was try that it break or give me a error out db file is over 20 mb. Is there a limit?
_________________

RECON's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2)
|
|
| Back to top |
|
 |
Head-e Silver Supporter


Offline Joined: Apr 20, 2004 Posts: 937
|
Posted: Fri Sep 09, 2005 7:06 pm Post subject: Re: database recovery |
|
i think it defaults to the limit set in php.ini do a forum search, dj posted a solution for uploading large database files
Head-e please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
Bloo Newbie


Offline Joined: Mar 02, 2007 Posts: 2
|
Posted: Fri Mar 02, 2007 7:27 pm Post subject: Re: database recovery |
|
| ilamos wrote: |
| Just forget I give up. I'll just start over new. |
Since this user didn't seem to get this answered and I ran into and solved this problem last night I thought I'd help the community with trudging up this old post in case someone happens to run across it again.
My issue was nearly identical. I was astonished to discover my new host was running MySQL 4.0.x which does not recognize the "DEFAULT CHARSET" syntax. I exported from a host that was running MySQL 4.1.x
Simply remove "DEFAULT CHARSET=latin1" from your flat file entirely and the load will go fine on a 4.0.x MySQL server.
| RECON wrote: |
| Thanks i was try that it break or give me a error out db file is over 20 mb. Is there a limit? |
Here's an absolute must have for solving big db uploads without having SSH access to your host that I found linked elsewhere on this site. It's a simple small script that does exactly what you need as phpMyAdmin has a 2mb limit on upload file size.
BigDump
Bloo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.4/2.0/4.0.27/4.4.4/9.1.1+9.0.5
Last edited by Bloo on Mon Mar 05, 2007 7:05 pm; edited 3 times in total |
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
Bloo Newbie


Offline Joined: Mar 02, 2007 Posts: 2
|
Posted: Fri Mar 02, 2007 11:41 pm Post subject: Re: database recovery |
|
| Phoenix wrote: |
Bigdump has been referenced very many times in these forums for many people with size limitations - it is an excellent tool, especially for very, very large databases  |
Someone should tell those folks over there working on the phpMyAdmin project that they need link up with Alexey Ozerov @ ozerov.de and get his awesome script added. It's been around a long time and everyone using phpMyAdmin ends up eventually picking it up. LOL
Bloo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.4/2.0/4.0.27/4.4.4/9.1.1+9.0.5
|
|
| Back to top |
|
 |
|
|