Unix Technical Forum

Can I do MySQL 4.1 -> 5.1 update just like this?

This is a discussion on Can I do MySQL 4.1 -> 5.1 update just like this? within the MySQL forums, part of the Database Server Software category; --> My phpBB version is 2.0.19. Can I do MySQL 4.1 -> 5.1 update just like this: 1.. Export phpbb ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:17 AM
ShK
 
Posts: n/a
Default Can I do MySQL 4.1 -> 5.1 update just like this?

My phpBB version is 2.0.19. Can I do MySQL 4.1 -> 5.1 update just like this:
1.. Export phpbb -table with phpMyAdmin

(SQL-options

[x] Structure:
[x] Add AUTO_INCTRMENT value
[x] Enclose table and field names with backquates
[x] Data:
[x] Use hexadecimal for binary fileds
Export type: INSERT)


2.. Uninstall MySQL 4.1 and delete folder

3.. Install MySQL 5.1

4.. Import phpbb.sql with phpMyAdmin


I use same dbusername and dbpasswd, but is somekind mysql_fix_privilege_tables needed?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:17 AM
Markus Popp
 
Posts: n/a
Default Re: Can I do MySQL 4.1 -> 5.1 update just like this?

Hi,

with your strategy, you don't take care of the mysql database which stores
the current privileges. So you will have the default user root without
password after this kind of update.

If you know exactly what you do, you can of course update straight from 4.1
to 5.1, but unless you're absolutely familar with what goes on behind the
scenes, I would recommand you to do it the way that's described in the
manual:

http://dev.mysql.com/doc/refman/5.0/...-from-4-1.html

http://dev.mysql.com/doc/refman/5.1/...-from-5-0.html

and upgrade from one version to another.

You should also know that MySQL 5.1 is still alpha and not recommanded for
production use (you should rather use 5.0.18 for a production server) and
also that MySQL 5.1 is not yet supported by phpBB. So if you have a problem
with phpBB and MySQL 5.1, none of the phpBB guys will care about it! I'm not
even sure if they have already solved all the MySQL 5.0 related problems
that might arise when you use a strict mode option.

So if you need your database server primarily for phpBB, you would probably
do best with MySQL 5.0.18 and not using strict mode (although you could try
it and eventually switch back if you find any problems).

Markus


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 07:17 AM
ShK
 
Posts: n/a
Default Re: Can I do MySQL 4.1 -> 5.1 update just like this?

"Markus Popp" <mfp@gmx.li> wrote in message

> with your strategy, you don't take care of the mysql database which stores
> the current privileges. So you will have the default user root without
> password after this kind of update.


I use same username (root) with same password what it was with 4.1.

> If you know exactly what you do, you can of course update straight from 4.1
> to 5.1, but unless you're absolutely familar with what goes on behind the
> scenes, I would recommand you to do it the way that's described in the
> manual:
> http://dev.mysql.com/doc/refman/5.0/...-from-4-1.html
> http://dev.mysql.com/doc/refman/5.1/...-from-5-0.html
> and upgrade from one version to another.


I am just a newbie with this issue. I try to read that 'upgrading-from-4-1.html'
but I dont find clear path to upgrade MySQL on Windows. Especially how I
handle the database backup and restore.

> So if you need your database server primarily for phpBB, you would probably
> do best with MySQL 5.0.18 and not using strict mode (although you could try
> it and eventually switch back if you find any problems).


Thanks for a tip. I stick in 5.0.18 without strict mode. I have 1.75Ghz Sempron
and 786Mb memory. Only use to computer is MySQL -server (with apache & phpbb).
What is a fastes config to MySQL on my case? I choose those like this:

[ ] Developer Machine
[ ] Server Machine
[x] Dedicated MySQL server machine

[ ] Multifunctional Database
[x] Transactional Database Only
[ ] Non-Transactional Database Only

[ ] Decision Support
[x] Online Transaction Processing
[ ] Manual Setting

Is there any benefit to convert Standard Character Set (Latin1) to Multilingualism (UTF8)?

Everything seem to work ok, but is what is that mysql_fix_privilege_tables?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com