SQL error following upgrade from 3.0.4 to 3.0.8

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
ab9db
Registered User
Posts: 212
Joined: Tue Apr 22, 2003 5:57 pm
Location: Swindon, UK
Contact:

SQL error following upgrade from 3.0.4 to 3.0.8

Post by ab9db »

Support Request Template
What version of phpBB are you using? phpBB 3.0.8
What is your board's URL? www.arsenal-land.co.uk/forum
Who do you host your board with? Media Temple
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Update from a previous version of phpBB3
Do you have any MODs installed? No
Is registration required to reproduce this issue? No
What version of phpBB3 did you update from? phpBB 3.0.4
What styles do you currently have installed? Prosilver, Subsilver2
What language(s) is your board currently using? English
Which database type/version are you using? I Don't Know
What is your level of experience? New to PHP and phpBB
When did your problem begin? Update appeared to be going smoothly, using the automated update. Clicked continue having uploaded new files and error below appeared.

I deleted the install folder too soon I think, before clicking continue, I re-uploaded it but the error persisted.
Please describe your problem. General Error
SQL ERROR [ mysql4 ]

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [2002]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
Generated by SRT Generator ($Rev: 4778 $)

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69563
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: SQL error following upgrade from 3.0.4 to 3.0.8

Post by KevC »

Check the information in the config.php file is correct.

Also, as you have no MODs you can update by doing this

*NOTE: Before proceeding backup all files and the database.*
  • Upload all new files from a download of the full version, EXCEPT for config.php, the /images and /files folders.
  • Go to yoursite.com/forumfolder/install/database_update.php
  • Let that run and then delete the install folder.
  • You now have a new up to date board containing all your users and posts but without any MODs that you might have had installed.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

ab9db
Registered User
Posts: 212
Joined: Tue Apr 22, 2003 5:57 pm
Location: Swindon, UK
Contact:

Re: SQL error following upgrade from 3.0.4 to 3.0.8

Post by ab9db »

Thanks seems the config file locally differed to the server.

Will try update process again.

Thanks

Locked

Return to “[3.0.x] Support Forum”