openSUSE Forums > Applications » MySQL 5.0 to 5.1 upgrade failure

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-Apr-2009, 13:53
Puzzled Penguin
 
Join Date: Aug 2008
Location: Seattle, WA U.S.A.
Posts: 3
davidm777 hasn't been rated much yet
Default MySQL 5.0 to 5.1 upgrade failure

Running a Suse L.A.M.P. stack:
- Linux: openSUSE 10.3
- Apache 2.2.11
- MySQL 5.0.45
- PHP 5.2.9

Yast->Software Management informed me that I could upgrade MySQL from 5.0.45 to 5.1.33. Nice, I thought.

Ran the upgrade, rebooted, and lost most points-of-access to MySQL. In Yast -> System -> System Services, MySQL is listed as enabled=Yes* (Simple Mode) and running=No (Expert Mode). Starting the service from here didn't work (says it starts, but nothing works)

'/etc/init.d/mysql start' states 'started' (when run as root, didn't try as a user)

Using MySQL Administrator or Query Browser fails to access MySQL at all. Any PHP-MySQL page fails to access the database.

However, I CAN run 'mysql -u root -p' from the command line and get in, poke around, etc. No access problems here (unless, of course, I run '/etc/init.d/mysql stop').

I tried running 'mysql_upgrade' and 'mysql_fix_*' only to get access-related errors.

Most error messages cycle around "Access denied for... (using password = NO)".

Totally lost,
David
Reply With Quote
  #2 (permalink)  
Old 10-Apr-2009, 14:14
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: MySQL 5.0 to 5.1 upgrade failure

Quote:
Originally Posted by davidm777 View Post
Running a Suse L.A.M.P. stack:
- Linux: openSUSE 10.3
- Apache 2.2.11
- MySQL 5.0.45
- PHP 5.2.9

Yast->Software Management informed me that I could upgrade MySQL from 5.0.45 to 5.1.33. Nice, I thought.
No, not nice, because there is certainly no officially supported version for 10.3.

So whatever you installed is not supported and using such stuff on a productive server machine is not recommended.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #3 (permalink)  
Old 10-Apr-2009, 15:07
Puzzled Penguin
 
Join Date: Aug 2008
Location: Seattle, WA U.S.A.
Posts: 3
davidm777 hasn't been rated much yet
Default Re: MySQL 5.0 to 5.1 upgrade failure

The package is coming from:
Index of /repositories/server:/database/openSUSE_10.3

I was assuming it is fine to use this repository... should I not be using it?

or is this more down the road of a bug? or does this happen when going from 5.0 to 5.1 and I need to (re)configure my system?

Thanks for the quick reply!
David
Reply With Quote
  #4 (permalink)  
Old 10-Apr-2009, 15:14
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: MySQL 5.0 to 5.1 upgrade failure

No, this is not an official repository.

If you suspect a bug, file a bug report with complete information (version, logs and error messages) here:

https://bugzilla.novell.com
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #5 (permalink)  
Old 10-Apr-2009, 15:40
Kevin Miller
Guest
 
Posts: n/a
Default Re: MySQL 5.0 to 5.1 upgrade failure

Akoellh wrote:
> No, this is not an official repository.
>
> If you suspect a bug, file a bug report with complete information
> (version, logs and error messages) here:
>
> https://bugzilla.novell.com


So how does one distinguish an "official" repository, especially when
they're on the opensuse.org site? How can one know what's actually safe
to install and in what repositories 'Thar be dragons'...

--
Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
In a recent poll, seven out of ten hard drives preferred Linux.
Reply With Quote
  #6 (permalink)  
Old 10-Apr-2009, 15:55
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: MySQL 5.0 to 5.1 upgrade failure

Very simple.

Package Repositories - openSUSE
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #7 (permalink)  
Old 13-Apr-2009, 13:44
Kevin Miller
Guest
 
Posts: n/a
Default Re: MySQL 5.0 to 5.1 upgrade failure

Akoellh wrote:
> Very simple.
>
> 'Package Repositories - openSUSE'
> (http://en.opensuse.org/Package_Repositories)


Thanks. Multiple repositories are a bit of a mixed blessing. Lots more
packages to choose from, but sometimes they cause weird dependency
issues. I pared it down to the official ones...

....Kevin
--
Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
In a recent poll, seven out of ten hard drives preferred Linux.
Reply With Quote
Reply

Bookmarks

Tags
5.1, mysql, upgrade


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 On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2