MySQL upgrades, what a ******* *******!!!

Information and news about the website will be posted here.
Locked
Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

MySQL upgrades, what a ******* *******!!!

Post by Andy »

Hello all,

As you probably just noticed, MySQL went offline for almost an hour. Well I was upgrading it, as I've been trying to find time to do over the last couple of days. Well what a bitch it is!!! My solution?

1. Delete the fucker
2. Install FRESH mysql5
3. Copy the data folder
4. Restart service
5. [censored] right!



Ah the joys of being an Admin... I do hope you will excuse the profanities but it was really annoying me.

Now, do I get a cookie for doing this or do I get bread and water? Hehe.

Let me know if you encounter any problems after this upgrade.

Andy (Admin)

fzajac
User avatar
Donator
Posts: 1432
Joined: Thu Aug 31, 2006 2:45 pm
Location: UK
Contact:

Post by fzajac »

Nice
But i think you should have put an information before that you were doing it, i was affraid BA was hacked again or something
Last edited by fzajac on Thu Nov 20, 2008 9:43 pm, edited 1 time in total.

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

FiFi wrote:Nice
But i think you should put an information that you were doing it, i was affraid BA was hacked again
There was, at the top of the forum. It said random downtime could occur

fzajac
User avatar
Donator
Posts: 1432
Joined: Thu Aug 31, 2006 2:45 pm
Location: UK
Contact:

Post by fzajac »

Oh, yeah, i forgot as i usually just don't read announcements anyway

Rob Jansen
User avatar
Donator
Posts: 5271
Joined: Sat May 12, 2007 1:05 pm
Location: The Collection Book
Contact:

Post by Rob Jansen »

Andy wrote:
FiFi wrote:Nice
But i think you should put an information that you were doing it, i was affraid BA was hacked again
There was, at the top of the forum. It said random downtime could occur
A suggestion:
IF the forum goes offline for something, even if you have it posted above the forum.

I think you should also post a notice when it's offline on the Home page.
EG: http://www.betaarchive.co.uk/index.php
Just under the Who and What is betaarchive.

But I agree, mysql can be an pain in the ****.
And glad it's over (hopefully).

EDIT: **** to ****
Last edited by Rob Jansen on Thu Nov 20, 2008 11:14 pm, edited 2 times in total.

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

Something has happened to the Wiki, and I can't figure out what it is. To me it looks like the DB is just "gone" but the DB files look the same even on a backup from may this year... I don't get it. I'll keep investigating.

fzajac
User avatar
Donator
Posts: 1432
Joined: Thu Aug 31, 2006 2:45 pm
Location: UK
Contact:

Post by fzajac »

AFAIK MediaWiki is sometimes picky about php and mysql versions...
But i would rather say it if you were downgrading mySQL or PHP...

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

FiFi wrote:AFAIK MediaWiki is sometimes picky about php and mysql versions...
Well the fact nobody reported it not working, if it wasn't, shows how much it was used. Personally I don't use it, but I know some people put a lot of articles on there and obviously I don't want to lose them if I can help it.

fzajac
User avatar
Donator
Posts: 1432
Joined: Thu Aug 31, 2006 2:45 pm
Location: UK
Contact:

Post by fzajac »

Are you using latest version of MW? If not, you could try to upgrade it now...

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

FiFi wrote:Are you using latest version of MW? If not, you could try to upgrade it now...
No abbreviations please. What is MW?

fzajac
User avatar
Donator
Posts: 1432
Joined: Thu Aug 31, 2006 2:45 pm
Location: UK
Contact:

Post by fzajac »

Andy wrote:
FiFi wrote:Are you using latest version of MW? If not, you could try to upgrade it now...
No abbreviations please. What is MW?
MediaWiki

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

FiFi wrote:
Andy wrote:
FiFi wrote:Are you using latest version of MW? If not, you could try to upgrade it now...
No abbreviations please. What is MW?
MediaWiki
No its not the latest version. Frankly it was a pain to get this one working. Its so under-used I'm thinking of ditching it anyway. We can always make a new forum section for articles that were on there.

fzajac
User avatar
Donator
Posts: 1432
Joined: Thu Aug 31, 2006 2:45 pm
Location: UK
Contact:

Post by fzajac »

Andy wrote:No its not the latest version. Frankly it was a pain to get this one working.
No, it wasn't so bad... we just hadn't read the manual while we were setting it
But i agree the administration panel is poor. But on every other point MediaWiki is the best software of this type IMO.

And i know it was under-used. But i loved it. It became a place i used to write much. I also learned much when writing those articles (i've used to make a lot of research before) & by just reading what was already written. We have here some great contributors to BA Wiki. Hounsell ,___, WinPC and recently Emir added a lot of valueable informations.

RichardG867
Posts: 596
Joined: Tue Oct 23, 2007 11:21 pm

Post by RichardG867 »

DjRob wrote:pain in the ass.
Andy forgot to censor this one...

========

By the way, I noticed that Uptime, Memory and Bandwidth meters are down. Currently:
UP: Error | CPU: 14.9% | MEM: 0MB, Used: 0MB, Free: 0MB | B/W: DL: 0Mbps / UL: 0Mbps
I don't know if it's part of the upgrades.

Also, I think that was a hardware upgrade, not software upgrade.

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

RichardGatinho wrote:
DjRob wrote:pain in the ass.
Andy forgot to censor this one...

========

By the way, I noticed that Uptime, Memory and Bandwidth meters are down. Currently:
UP: Error | CPU: 14.9% | MEM: 0MB, Used: 0MB, Free: 0MB | B/W: DL: 0Mbps / UL: 0Mbps
I don't know if it's part of the upgrades.

Also, I think that was a hardware upgrade, not software upgrade.
Don't guess about things you don't know about. I have not performed any hardware upgrades. I have performed software updates only. I am aware some things still don't work, but had you been reading the site recently, you'd know why.

RichardG867
Posts: 596
Joined: Tue Oct 23, 2007 11:21 pm

Post by RichardG867 »

Say... It was the ARP attack that compromised the security of the database?

(*I will no longer try to guess*)

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Post by Andy »

RichardGatinho wrote:Say... It was the ARP attack that compromised the security of the database?

(*I will no longer try to guess*)
If you bothered to read the entire topic you'd know exactly what happened. Stop guessing.

Andy
User avatar
Administrator
Posts: 12815
Joined: Fri Aug 18, 2006 11:47 am
Location: United Kingdom
Contact:

Re: MySQL upgrades, what a ******* *******!!!

Post by Andy »

Well, I just realised what happened to the wiki database. The server was using a different database type than what it should have used (INNODB not MyISAM). I do have an idea on how to recover it, since I kept what was left of the database intact, that is of course if the DB is still present in the MySQL setup. I found this because the forum, now converted to phpBB3, wasn't backing up its database. The reason being there were no MYI files being created, because the database type was INNODB not MyISAM. This is now fixed and backups are being performed normally.

ct2k7
Donator
Posts: 592
Joined: Thu Oct 30, 2008 8:23 pm
Location: Dorset
Contact:

Re: MySQL upgrades, what a ******* *******!!!

Post by ct2k7 »

Andy wrote:Well, I just realised what happened to the wiki database. The server was using a different database type than what it should have used (INNODB not MyISAM). I do have an idea on how to recover it, since I kept what was left of the database intact, that is of course if the DB is still present in the MySQL setup. I found this because the forum, now converted to phpBB3, wasn't backing up its database. The reason being there were no MYI files being created, because the database type was INNODB not MyISAM. This is now fixed and backups are being performed normally.
That's great to hear

Locked