Welcome, Guest. Please Login or Register.
November 24, 2024, 12:05:49 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Backup/Restore MySQL Database... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Backup/Restore MySQL Database...  (Read 482 times)
gtr_rider
Noobie
*
Posts: 2


I'm a llama!

Backup/Restore MySQL Database...
« on: June 16, 2002, 09:37:26 PM »
Reply with quote

My old host for a site I have is closing and I had a forum running on their database. Their software sucked goatnads ( MySQL 3.23.49 ) and its not the same as the one i have now ( MySQL 3.23.36 ), so i got the dump from the previous, and im trying to dump it into the new host but its giving an error.. Something to this effect..

This is all related to YaBBSe 1.4.0

-- MySQL dump 8.21
--
-- Host: *************  Database: **********
---------------------------------------------------------
-- Server version   3.23.49

--
-- Table structure for table 'phpbb_auth_access'
--

CREATE TABLE phpbb_auth_access (
  group_id mediumint(8) NOT NULL default '0',
  forum_id smallint(5) unsigned NOT NULL default '0',
  auth_view tinyint(1) NOT NULL default '0',
  auth_read tinyint(1) NOT NULL default '0',
  auth_post tinyint(1) NOT NULL default '0',
  auth_reply tinyint(1) NOT NULL default '0',
  auth_edit tinyint(1) NOT NULL default '0',
  auth_delete tinyint(1) NOT NULL default '0',
  auth_sticky tinyint(1) NOT NULL default '0',
  auth_announce tinyint(1) NOT NULL default '0',
  auth_vote tinyint(1) NOT NULL default '0',
  auth_pollcreate tinyint(1) NOT NULL default '0',
  auth_attachments tinyint(1) NOT NULL default '0',
  auth_mod tinyint(1) NOT NULL default '0',
  KEY group_id (group_id),
  KEY forum_id (forum_id)
) TYPE=MyISAM

MySQL said:


You have an error in your SQL syntax near '---------------------------------------------------------
-- Server version   3.23' at line 4
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Backup/Restore MySQL Database...
« Reply #1 on: June 17, 2002, 01:34:37 AM »
Reply with quote

Quote from: gtr_rider on June 16, 2002, 09:37:26 PMTheir software sucked goatnads ( MySQL 3.23.49 ) and its not the same as the one i have now ( MySQL 3.23.36 )

Their version is newer than yours, how does it suck gonads? :)

Anyway, there have been several posts about backing things up lately...someone will post a link if you don't find it first :)
Logged

PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:Backup/Restore MySQL Database...
« Reply #2 on: June 17, 2002, 07:16:49 AM »
Reply with quote

I used to be able to backup fine... until my lovely hosts introducted a limit of 30 seconds for execution of any scripts... doh!!

Logged
gtr_rider
Noobie
*
Posts: 2


I'm a llama!

Re:Backup/Restore MySQL Database...
« Reply #3 on: June 17, 2002, 02:58:55 PM »
Reply with quote

I was able to get it to work, yes I noticed that the first database was newer then mine :-*

Here what happened...

The two softwares where reading different command lines, so I had to remove the slashes( -- ) before ever command since those arent compatible with the lexical parser.. just removed them
Logged
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Backup/Restore MySQL Database...
« Reply #4 on: June 17, 2002, 04:10:22 PM »
Reply with quote

Quote from: PioneeR on June 17, 2002, 07:16:49 AMI used to be able to backup fine... until my lovely hosts introducted a limit of 30 seconds for execution of any scripts... doh!!


Does your host run in safe mode? If not you can probably overide the time limit :)
Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:Backup/Restore MySQL Database...
« Reply #5 on: June 17, 2002, 04:55:51 PM »
Reply with quote

No.. its not in safe mode... sooooooooo how would i be able to override this stupid 30 second limit??  ;D
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Backup/Restore MySQL Database...
« Reply #6 on: June 17, 2002, 04:58:53 PM »
Reply with quote

Add this to the top of the script:

set_time_limit (0);
Logged

Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Backup/Restore MySQL Database...
« Reply #7 on: June 17, 2002, 05:22:59 PM »
Reply with quote

Or add this to your .htaccess file

php_value max_execution_time 120
Where 120 is a number of seconds and can be whatever you like
Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:Backup/Restore MySQL Database...
« Reply #8 on: June 17, 2002, 07:45:20 PM »
Reply with quote

Tried both the above methods... still times out on me.. probs me doing something wrong!!
Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:Backup/Restore MySQL Database...
« Reply #9 on: June 21, 2002, 12:59:58 AM »
Reply with quote

I assume the server I am isnt running safe mode because I installed yabb from the install script.

I have tried both the above methods to try and extend the 30 second limit.. still times out though.

Any more ideas??

Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Backup/Restore MySQL Database... « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.066 seconds with 21 queries.