UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Web Hosting and Domains > MySQL Hosting

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 17-04-2009, 23:15
Senior Member
 
Join Date: Apr 2009
Posts: 107
Default Upgading mySQL

One of my Drupal modules ('Views2' if you're familiar with drupal) was returning an SQL error today when I tried to set-up a new view. I checked on the forum and someone there managed to replicate my view without error.

So I went back over to my old shared hosting account on another host, where I have a virtually unchanged copy of my current eukhost website, and tried the view there, and it also worked no problem. So, is it likely to a bug between the Views script and my eukhost version of mySQL?

I don't have much chance of getting the Views developers to fix a particular bug to work with a particular version of mySQL. So it is probably easier for me just to upgrade mySQL.

The two accounts are running different versions of software:

My old webhost is running 'cpanel 11.24.4-CURRENT' with 'MySQL 5.0.77-community'.

My eukhost account *was* running 'cpanel 11.24.4-STABLE' with 'MySQL 5.0.67-community'

I used the WHM upgrade tool to upgrade to 'cpanel 11.24.4-RELEASE' hoping that mySQL would be upgraded too, but it wasn't upgraded.

So my choice is to try upgrading to 'cpanel current' and hope that the package contains the newer version of mySQL. But is 'current' generally ok to run? Would it definitely upgrade mySQL for me?

OR, is there a way to upgrade mySQL by itself, whilst leaving WHM/cpanel at 'current'?

Thanks for any advice.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 18-04-2009, 08:00
Moderator (eUKhost.com)
 
Join Date: Mar 2009
Posts: 391
Default

Hi,

Are you sure updating the MySQL version will fix the issue?

MySQL can be upgraded via WHM, also needs some commands to be run from SSH to complete the update.

MySQL can be upgraded via WHM >> Tweak Security option.

There it will show an information note as:

MySQL Version to use (you must run Software/Update Server Software (or /scripts/mysqlup) for this to take effect. You should then run buildapache/easyapache after changing this option. You may also need to run /scripts/perlinstaller --force Bundle:: DBD::mysql. Updating from a previous version of MySQL to a later version is not automatically reversable. You should backup your databases if you think you might wish to downgrade in the future.


Please be advised you will only see an update in MySQL version on your server, if at all a new stable version of MySQL is available on cPanel servers.

Note: By default we set all WHM versions on a STABLE build.

If you posted the exact error we could have provided with a much appropriate fix.

A Note of caution: Please contact the Support department via Live chat or Email if you are unsure on the upgrade process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 18-04-2009, 12:27
Senior Member
 
Join Date: Apr 2009
Posts: 107
Default

> Are you sure updating the MySQL version will fix the issue?

I probably am too fast in assuming a difference in server set-up is causing the issue.
I'll do some more troubleshooting with the scripts and database.

Thanks for your advice.

Last edited by -Anti-; 18-04-2009 at 18:22.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 18-04-2009, 13:15
Moderator (eUKhost.com)
 
Join Date: Mar 2009
Posts: 391
Default

Quote:
Originally Posted by -Anti- View Post
> Are you sure updating the MySQL version will fix the issue?

I probably am too fast in assuming a difference in server set-up is causing the issue.
I'll do some more troubleshooting with the scripts and and database.

Thanks for your advice.
Okay.. Happy Troubleshooting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 18-04-2009, 18:21
Senior Member
 
Join Date: Apr 2009
Posts: 107
Default

I got it eventually. A hyphen in a form-field label (hyphens are supposed to be ok) was being passed to SQL in a context which made it baulk. Such a stupid little thing! I was looking for a corrupt database or mis-configured server.

Thank you for dissuading me from upgrading SQL - very smart.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 20-04-2009, 07:35
Moderator (eUKhost.com)
 
Join Date: Mar 2009
Posts: 391
Default

Quote:
I got it eventually. A hyphen in a form-field label (hyphens are supposed to be ok) was being passed to SQL in a context which made it baulk. Such a stupid little thing! I was looking for a corrupt database or mis-configured server.
I am glad that you have managed to sort out the problem.

Quote:
Thank you for dissuading me from upgrading SQL - very smart.
You're most welcome!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 29-06-2009, 15:40
Junior Member
 
Join Date: Jun 2009
Posts: 25
Default

I've experienced a similar incident before as well except it was PHP related, I blamed it on the PHP version I was running but it was actually some code on the script I was using that wasn't properly formatted.

It's good that you looked into it, although sometimes an upgrade is indeed required but so far I've only been forced to upgrade if it was a MySQL 5.x script and I was running 4.x.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 21:32.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles