Re: Upgrading How To

2014-12-26 Thread Reindl Harald
Am 26.12.2014 um 20:52 schrieb Grant Peel: Shawn & all, Thank you for taking to time to reply. So, to be clear, what I understand from your post is that replacing the new build's grant/system tables with the archived ones from the previous version, generally works fine, upgrade issues not wit

Re: Upgrading How To

2014-12-26 Thread Grant Peel
Shawn & all, Thank you for taking to time to reply. So, to be clear, what I understand from your post is that replacing the new build's grant/system tables with the archived ones from the previous version, generally works fine, upgrade issues not withstanding. This is the answer I

Re: Upgrading How To

2014-12-26 Thread shawn l.green
Hi Grant, On 12/26/2014 11:18 AM, Grant Peel wrote: Reindl, I am sorry, in my original post, I forgot to mention that the OLD box and the NEW box are the same physical machine. I need to be able to save all data into files on a memstick or portable disc and restore them to the newly staged mach

RE: Upgrading How To

2014-12-26 Thread Grant Peel
Reindl, I am sorry, in my original post, I forgot to mention that the OLD box and the NEW box are the same physical machine. I need to be able to save all data into files on a memstick or portable disc and restore them to the newly staged machine (with the new version of mysql). -Grant -- MySQ

Re: Upgrading How To

2014-12-25 Thread Reindl Harald
Am 25.12.2014 um 16:01 schrieb Grant Peel: I was wondering if anyone knows of a concise tutorial on how to upgrade (by moving from one box (old) to another box (new) mysql in a virtual environment (many mysql users, many databases). Mysql 5.x setup on freebsd 8.x (x86/32b), call this box A. W

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-20 Thread Mike Franon
going form 5.1 - to 5.5 was easy, I did not have to dump any tabels or triggers, just upgraded binary, ran mysql_upgrade and worked in no time. Thanks everyone for the help! On Wed, Feb 20, 2013 at 2:33 PM, Reindl Harald wrote: > fine and much faster and probably safer too :-) > > a backup with

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-20 Thread Reindl Harald
fine and much faster and probably safer too :-) a backup with rsync is faster as dump/import and can be done with minimize downtime by use it twice, the first time hot-backup with running server and the second time after stop server to get the diffs doing rsync -> stop -> rsync -> start in a scri

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-20 Thread Mike Franon
OK I got it to work. I dumped the tables that it was complaining about first, and then dumped the triggers. I then uninstalled anything to do with mysql, and installed 5.1 Then imported the tables and triggers, and and able to run mysql_upgrade without any errors. This is all without using a fu

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-20 Thread Mike Franon
I am pretty sure I did, and when I did I got the following errors: Error: Table Upgrade Required, Please dump/reload to fix it I got that on 10 tables, and also got the following: Warning: Triggers for table ' have no creation context. I think it has to do with no triggers. I know hen I ra

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-20 Thread Mike Franon
So I did a full mysqldump over the weekend for a second time and this time it is 220GB, no clue what happened last time, I should have realized looking at the file size something was wrong, but since I got no errors did not think about it, and this time I timed it, took 7 hours to do a complete mys

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-20 Thread Reindl Harald
Am 20.02.2013 18:26, schrieb Mike Franon: > So I did a full mysqldump over the weekend for a second time and this > time it is 220GB, no clue what happened last time, I should have > realized looking at the file size something was wrong, but since I got > no errors did not think about it, and thi

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-19 Thread Divesh Kamra
Hi all Is there any better way for grade MySQL version without taking backup with mysqldump Or if there any tool for this R's DK On 16-Feb-2013, at 16:07, Reindl Harald wrote: > > > Am 16.02.2013 09:42, schrieb Manuel Arostegui: >> 2013/2/15 Reindl Harald >

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-19 Thread Reindl Harald
Am 19.02.2013 23:53, schrieb Divesh Kamra: > Hi Reindi > > > Thanks for solution . > > Can u share complete steps ? which steps? * update * call "mysql_upgrade -u root -p" in doubt "mysqlcheck -h localhost --check-upgrade --all-databases --auto-repair --user=root -p" and if you d

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-19 Thread Divesh Kamra
Hi Reindi Thanks for solution . Can u share complete steps ? R's DK On 20-Feb-2013, at 2:50, Reindl Harald wrote: > surely > > * use "mysql_upgrade -u root -p" after EACH update > * upgrade regulary > > we went from MySQL 3.x to 5.5.30 until know without > any dump and here are ar

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-19 Thread Sabika Makhdoom
Use replication as your fail over and why not percona's xtrabackup or lvm type backup if you need a backup? Sabika On Feb 19, 2013, at 1:20 PM, Reindl Harald wrote: > surely > > * use "mysql_upgrade -u root -p" after EACH update > * upgrade regulary > > we went from MySQL 3.x to 5.5.30 unt

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-19 Thread Reindl Harald
surely * use "mysql_upgrade -u root -p" after EACH update * upgrade regulary we went from MySQL 3.x to 5.5.30 until know without any dump and here are around 5000 tables Am 19.02.2013 22:12, schrieb Divesh Kamra: > Is there any better way for grade MySQL version without taking backup with > mys

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-16 Thread Reindl Harald
Am 16.02.2013 09:42, schrieb Manuel Arostegui: > 2013/2/15 Reindl Harald > > > "our database is 400 GB, mysqldump is 600MB" was not a typo and you > honestly believed that you can import this dump to somewhat? > > WTF - as admin you should be able to

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-16 Thread Manuel Arostegui
2013/2/15 Reindl Harald > "our database is 400 GB, mysqldump is 600MB" was not a typo and you > honestly believed that you can import this dump to somewhat? > > WTF - as admin you should be able to see if the things in front > of you are theoretically possible before your start any action > and 1

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Reindl Harald
e what is the best way to fix this? > >>>>> > >>>>> To install all I did was remove all of the 5.0, and then did a yum > >>>>> install 5.1 on my AWS machine. and then just started mysql. > >>>>> > >>>&g

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Akshay Suryavanshi
far, but it still checking, my database is > >>>>> huge so might be a while. > >>>>> > >>>>> The question I have what is the best way to fix this? > >>>>> > >>>>> To install all I did was remove all of the 5.0, and

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Reindl Harald
this on 4 tables so far, but it still checking, my database is >>>>>>> huge so might be a while. >>>>>>> >>>>>>> The question I have what is the best way to fix this? >>>>>>> >>>>>>> To install all

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Johnny Withers
o fix this? > >>>>> > >>>>> To install all I did was remove all of the 5.0, and then did a yum > >>>>> install 5.1 on my AWS machine. and then just started mysql. > >>>>> > >>>>> Should I instead do a complete

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Reindl Harald
s remove all of the 5.0, and then did a yum >>>>> install 5.1 on my AWS machine. and then just started mysql. >>>>> >>>>> Should I instead do a complete mysqldump, and use that instead? >>>>> >>>>> On Thu, Feb 14, 2013 at 7:40

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Mike Franon
iscovered, can be fixed in the old >> >> > version >> >> > -- then it works correctly in both. >> >> > >> >> > >> >> > >> >> > That is what happened with a 4.0->5.1 conversion years ago. With >> >>

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Keith Murphy
; > > >> > That is what happened with a 4.0->5.1 conversion years ago. With 1000 > >> > different tables and associated code, we encountered two > >> > incompatibilities. > >> > One had to do with NULLs, the other with precedence of commajoin vs >

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Reindl Harald
Am 15.02.2013 22:55, schrieb Mike Franon: > I am having a real hard time upgrading just from 5.0.96 to 5.1 > > I did a full mysqldump and then restore the database, keep in mind our > database is 400 GB, mysqldump is 600MB file, about 30 minutes into the > restore get this error on one table on

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Mike Franon
1000 >> > different tables and associated code, we encountered two >> > incompatibilities. >> > One had to do with NULLs, the other with precedence of commajoin vs >> > explicit >> > JOIN. >> > >> > >> > >> > From: Singe

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Keith Murphy
1000 > > different tables and associated code, we encountered two > incompatibilities. > > One had to do with NULLs, the other with precedence of commajoin vs > explicit > > JOIN. > > > > > > > > From: Singer Wang [mailto:w...@singerwang.com] > >

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-15 Thread Mike Franon
ang.com] > Sent: Thursday, February 14, 2013 3:41 PM > To: Rick James > Cc: Mihail Manolov; Mike Franon; Akshay Suryavanshi; > > > Subject: Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6 > > > > Its a very pedantic case, but we had a few instances where it was an

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Mihail Manolov
: Singer Wang [mailto:w...@singerwang.com] >> Sent: Thursday, February 14, 2013 2:59 PM >> To: Mihail Manolov >> Cc: Mike Franon; Akshay Suryavanshi; >> Subject: Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6 >> >> There are queries that works with 5.1/5.0 that do not work wit

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Singer Wang
There are queries that works with 5.1/5.0 that do not work with 5.5, I would test extensively.. S On Thu, Feb 14, 2013 at 5:22 PM, Mihail Manolov < mihail.mano...@liquidation.com> wrote: > You could jump from 5.0 directly to 5.5 and skip 5.1. I have without any > issues. There are some configur

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Mihail Manolov
You could jump from 5.0 directly to 5.5 and skip 5.1. I have without any issues. There are some configuration file change, which you may want to consider checking. I definitely recommend upgrading your development servers for an extensive testing. Some queries _may_ run slower or not work at all

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Singer Wang
3 2:59 PM > > To: Mihail Manolov > > Cc: Mike Franon; Akshay Suryavanshi; > > Subject: Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6 > > > > There are queries that works with 5.1/5.0 that do not work with 5.5, I > > would test extensively.. > >

RE: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Rick James
the other with precedence of commajoin vs explicit JOIN. From: Singer Wang [mailto:w...@singerwang.com] Sent: Thursday, February 14, 2013 3:41 PM To: Rick James Cc: Mihail Manolov; Mike Franon; Akshay Suryavanshi; Subject: Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6 Its a very pedantic case, but

RE: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Rick James
ilto:mihail.mano...@liquidation.com] > Sent: Thursday, February 14, 2013 3:30 PM > To: Rick James > Cc: Singer Wang; Mike Franon; Akshay Suryavanshi; > > Subject: Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6 > > The ones that didn't work for me required table rearrangement in

RE: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Rick James
Singer, do you have some examples? > -Original Message- > From: Singer Wang [mailto:w...@singerwang.com] > Sent: Thursday, February 14, 2013 2:59 PM > To: Mihail Manolov > Cc: Mike Franon; Akshay Suryavanshi; > Subject: Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6 >

RE: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Rick James
ou go all the way to 5.6? Maybe. You need to do a lot of shakedown anyway. > -Original Message- > From: Mihail Manolov [mailto:mihail.mano...@liquidation.com] > Sent: Thursday, February 14, 2013 2:22 PM > To: Mike Franon > Cc: Akshay Suryavanshi; > Subject: Re: Upgradi

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Akshay Suryavanshi
Mike, 5.6 is GA now, so its stable release. Also you should not jump to 5.6 directly, atleast from 5.0. There are many bug fixes and changes in 5.1, so you should consider this way. 5.0-->5.1-->5.5 (all slaves first, and then the master) And further 5.5 --> 5.6 (again all slaves first and then

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Mike Franon
Great thanks for the info, I guess the best way to do this is take a spare server, set it up with our standard setup, and then start the upgrade as you said 5.0 -> 5.1 -> 5.5, test and then upgrade to 5.6 and test. On Thu, Feb 14, 2013 at 4:22 PM, Akshay Suryavanshi wrote: > Mike, > > 5.6

Re: Upgrading form mysql 5.0.90 to 5.5 or 5.6

2013-02-14 Thread Manuel Arostegui
2013/2/14 Mike Franon > Great thanks for the info, I guess the best way to do this is take a > spare server, set it up with our standard setup, and then start the > upgrade as you said 5.0 -> 5.1 -> 5.5, test and then upgrade to 5.6 > and test. Do not forget to leave that spare server running f

Re: Upgrading of mysql database

2010-11-22 Thread Machiel Richards
How would I do an inplace upgrade? -Original Message- From: Johan De Meersman To: Machiel Richards Cc: mysql mailing list Subject: Re: Upgrading of mysql database Date: Mon, 22 Nov 2010 15:25:44 +0100 That would work, yes. You could also try to upgrade in place - the upgrade scripts

Re: Upgrading of mysql database

2010-11-22 Thread Johan De Meersman
; > > -Original Message- > *From*: Johan De Meersman > > > > *To*: Machiel Richards > > > > *Cc*: mysql mailing list > > > > *Subject*: Re: Upgrading of mysql database > *Date*: Mon, 22 Nov 2010 15:25:44 +0100 > > That would wo

Re: Upgrading of mysql database

2010-11-22 Thread Johan De Meersman
That would work, yes. You could also try to upgrade in place - the upgrade scripts *should* take care of everything between those versions, I think. Make sure you have a backup in any case :-) On Mon, Nov 22, 2010 at 12:57 PM, Machiel Richards wrote: > Hi All > >Sorry for all my posts

Re: upgrading mysql

2010-01-13 Thread Paul DuBois
On Jan 13, 2010, at 1:28 PM, Lawrence Sorrillo wrote: > The issue is that in theory this should work given the facts announced by > MySQL regarding binary logging and replication. > I can certainly do it the way you propose, but to my mind I should also be > able to do it using the fact that bo

Re: upgrading mysql

2010-01-13 Thread fsb
On 1/13/10 2:28 PM, "Lawrence Sorrillo" wrote: > The issue is that in theory this should work given the facts announced > by MySQL regarding binary logging and replication. > I can certainly do it the way you propose, but to my mind I should also > be able to do it using the fact that both machin

Re: upgrading mysql

2010-01-13 Thread Lawrence Sorrillo
The issue is that in theory this should work given the facts announced by MySQL regarding binary logging and replication. I can certainly do it the way you propose, but to my mind I should also be able to do it using the fact that both machines are fully synced and hence at that point I should b

Re: upgrading mysql

2010-01-12 Thread Suresh Kuna
Hi, The step 6 in simple terms is Here we need to build two server ( both master and slave ). Instead of building two server as it takes double the time of building in one server. After building an server, make a copy of the first server files at OS level and copy it to the server and start the sa

Re: upgrading mysql

2010-01-12 Thread Tom Worster
Frankly, I didn't entirely understand what you were proposing. I got lost around step 6. Is the issue total time for the procedure or service downtime? On 1/12/10 12:58 PM, "Lawrence Sorrillo" wrote: > This is two upgrades done in sequence(the reload takes about three hours > per machine) . I

Re: upgrading mysql

2010-01-12 Thread Paul DuBois
On Jan 12, 2010, at 12:36 PM, Lawrence Sorrillo wrote: > Hi: > > I want to ensure that right after the reload that the same data is present in > both the master and the slave. They are in perfect sync. Then I think its > safe to consider starting binary logging and replication etc. And after t

Re: upgrading mysql

2010-01-12 Thread Lawrence Sorrillo
Hi: I want to ensure that right after the reload that the same data is present in both the master and the slave. They are in perfect sync. Then I think its safe to consider starting binary logging and replication etc. And after these are started, changes can start? And in setting up replicat

Re: upgrading mysql

2010-01-12 Thread Shawn Green
Lawrence Sorrillo wrote: Hi: I want to upgrade a master and slave server from mysql 4.1 to mysql 5.1. I want to so something like follows: 1. Stop all write access to the master server. ok 2. Ensure that replication on the slave is caught up to the last change on the master. why? You are

Re: upgrading mysql

2010-01-12 Thread Lawrence Sorrillo
This is two upgrades done in sequence(the reload takes about three hours per machine) . I can do what I am proposing in parallel. Do you see it as problematic? ~Lawrence Tom Worster wrote: How about: 1 shut down the slave, upgrade it, restart it, let it catch up. 2 shut down the master, up

RE: upgrading mysql

2010-01-12 Thread Joshua Gordon
Also see http://dev.mysql.con/doc/refman/5.0/en/mysql-upgrade.html. And make sure you make a backup before you do anything :) -Original Message- From: Tom Worster [mailto:f...@thefsb.org] Sent: Tuesday, January 12, 2010 10:47 AM To: Lawrence Sorrillo; mysql@lists.mysql.com Subject: Re

Re: upgrading mysql

2010-01-12 Thread Tom Worster
How about: 1 shut down the slave, upgrade it, restart it, let it catch up. 2 shut down the master, upgrade it, restart it, let the slave catch up. ? On 1/12/10 12:34 PM, "Lawrence Sorrillo" wrote: > Hi: > > I want to upgrade a master and slave server from mysql 4.1 to mysql 5.1. > > I w

Re: upgrading from 4.1 to 5.4

2009-10-02 Thread Joerg Bruehe
Hi! I don't do DBA work, so my info may be incomplete: monem mysql wrote: > Hello > > > I have to upgrade many mysql databases from mysql 4 and 4.1 to 5.4 with a > large size 2.7 TB > > [[...]] > > > The official method takes too much time. But I've read that we can use '*dump > and reload'

RE: upgrading from 4.1 to 5.4

2009-10-01 Thread Gavin Towey
Using mysqldump and loading directly into 5.4 *might* work, but you should never do any of this on your production system without testing. Get another box, start with 4.1 and do the upgrade on a test server -- even test your queries as there a few incompatible changes between 4 and 5. One you

Re: Upgrading from 5.0.32 via a replication chain and bug 24432

2009-09-09 Thread Per Jessen
David Harrison wrote: > Hi all, > > I've got a quite large database (23G) that is running on a 5.0.32 > version of MySQL. I really want to upgrade out of 5.0.32 to the > latest version of 5.1 (or even 5.4) but a straight mysql_upgrade of > the database takes long enough that I'd have serious dow

Re: upgrading from 4.1 to 5.0 "trick"

2009-09-02 Thread Hank
On Fri, Aug 28, 2009 at 9:18 AM, Shawn Green wrote: > Hank wrote: > >> Hello All, >> I'm in the process of upgrading my database from 4.1 to 5.0 on CentOS. >> I've been testing the "mysqlcheck --check-upgrade --auto-repair" >> command, >> and on one of my MYISAM tables, it's taking forever to

Re: upgrading from 4.1 to 5.0 "trick"

2009-08-28 Thread Shawn Green
Hank wrote: Hello All, I'm in the process of upgrading my database from 4.1 to 5.0 on CentOS. I've been testing the "mysqlcheck --check-upgrade --auto-repair" command, and on one of my MYISAM tables, it's taking forever to upgrade the table. It has about 114 million rows, and I'm guessing i

Re: Upgrading MySQL from 5.0 to 5.1

2009-03-22 Thread Claudio Nanni
What I always did since 3.23 upwards is new installation and import. My tecnique allows me to install as many mysql instances as I want, I always use specific user, homedir, datadir, my.cnf, for each installation. In this way I can have theoretically unlimited number of mysql instances on one host.

Re: Upgrading

2009-03-09 Thread Wm Mussatto
On Mon, March 9, 2009 12:51, Mihail Manolov wrote: > I would strongly suggest logging all your 4.0 queries for at least 24 > hours and then running them on your new 5.x server to avoid any > surprises such as incompatible queries for example. > > Good luck! > > Mihail Good idea. I would pay partic

Re: Upgrading

2009-03-09 Thread Mihail Manolov
I would strongly suggest logging all your 4.0 queries for at least 24 hours and then running them on your new 5.x server to avoid any surprises such as incompatible queries for example. Good luck! Mihail On Mar 9, 2009, at 1:42 PM, Matthew Stuart wrote: Hi all, I am on... wait for it... ve

Re: Upgrading

2009-03-09 Thread Andy Shellam
Hi Mat, How many databases have you got running on 4.0? You can certainly go through the motions of downloading each interim release, however my best advice would be (if time/disk space permits) to dump your databases to plain SQL files (using mysqldump) obliterate your 4.0 install, install a

Re: Upgrading from 4.1 to 5.0

2008-04-23 Thread Brent Baisley
You may want to try replication. Setup your replication server as 5.0. That server gives you a chance to play to get things right without affecting the master server. You'll still need to do a dump to get the slave up to speed. Once you get everything right, you can switch over and the sla

Re: upgrading mysql on RHEL4

2008-01-18 Thread Joerg Bruehe
Hi ! perl pra schrieb: > [[...]] > > Also please tell me where can i get mysql5.1 enterprise edition. 5.1 is currently labeled "rc" (current version is 5.1.22-rc), so there is no enterprise edition yet. When there will be one, it will be for paying customers, and they have got (or will receive)

Re: upgrading mysql on RHEL4

2008-01-18 Thread Saravanan
Hi, Take backup of the existing data before upgrading for safety. There is RHEL 4 specific rpm binary is existing in the downloading section. After installing run the required tools comes with mysql. Before upgrading with existing datas read the documentation carefully. http://dev.mysql.com

Re: Upgrading databases?

2007-06-21 Thread Dan Buettner
Hi Seth - I believe MySQL's official position is that you should always dump-and-load the data when upgrading major or minor versions (4.0 to 4.1, 4.1 to 5.0, etc.) I've done it both ways (dump-load and just moving table files) and have never had a problem with either, even when moving files acr

Re: Upgrading databases?

2007-06-21 Thread Seth Seeger
On Jun 21, 2007, at 12:21 PM, Gerald L. Clark wrote: Seth Seeger wrote: Hello, I'm having trouble copying a database from MySQL 4.1.22 to 5.1.19- beta. Both are FreeBSD i386-based machines. I have run the following commands: mysqlcheck --check-upgrade --all-databases --auto-repair mysql

Re: Upgrading databases?

2007-06-21 Thread Gerald L. Clark
Seth Seeger wrote: Hello, I'm having trouble copying a database from MySQL 4.1.22 to 5.1.19- beta. Both are FreeBSD i386-based machines. I have run the following commands: mysqlcheck --check-upgrade --all-databases --auto-repair mysql_fix_privilege_tables Both executed with no problems.

Re: upgrading from mysql 4.0 to 4.1 : TIMESTAMP & OTHER FEATURES

2006-12-20 Thread Dan Buettner
Regarding the format of TIMESTAMP columns, one of the user comments on http://dev.mysql.com/doc/refman/4.1/en/timestamp-4-1.html offers the solution below: Posted by Kjell Arne Rekaa on April 14 2005 11:11pm If you want the same view of a timestamp field in 4.1.x as it was in in earlier mysql ver

Re: upgrading mysql...

2006-08-03 Thread Daniel da Veiga
On 8/2/06, bruce <[EMAIL PROTECTED]> wrote: hi.. i have FC3, with 4.1.13, i also have FC4 with 4.1.20. however, i can't seem to find 5.0.x RPMs for FC3/4. do i have to go ahead and build this from source for the FC3/4 boxes that i have... Linux x86 generic RPM at: http://dev.mysql.com/downloa

Re: Upgrading from 3.23.58 > 5.0.22?

2006-06-26 Thread Daniel da Veiga
On 6/25/06, Dan Trainor <[EMAIL PROTECTED]> wrote: Good morning, all - I've read for quite a while tonight, but still haven't been able to figure out - can I upgrade directly from 3.23.58 to 5.0.22? I've read that I'd have to do something like 3.23.58 > 4.0 > 4.1 > 5.0.22, but then also the 'my

Re: Upgrading from 3.23.58 > 5.0.22?

2006-06-26 Thread Dan Buettner
Dan, I haven't seen any other responses, so I'll chime in with my $.02. I think you should have very few problems upgrading from 3.23.58 to 5.0.22. I think you will in fact be able to do pretty much what you describe. I've upgraded in both fashions in the past (re-importing mysqldump output

Re: upgrading problem

2006-04-08 Thread balaraju mandala
Yes Eric You are correct. Thankyou for your reply. It helped me. Bala

Re: upgrading problem

2006-04-07 Thread Eric Braswell
You need root privileges. Login as root or use sudo. E.g. sudo rpm -Uvh MySQL-shared-compat-5.0.19-0.rhel4.i386.rpm If you don't have root or sudo access, you can't perform this upgrade. You could possibly use the --prefix and --relocate rpm install options to install mysql into a directory f

Re: Upgrading to 5.0.15

2005-12-30 Thread Gary Richardson
Did you try to run OPTIMIZE TABLE, REPAIR TABLE or ALTER TABLE on those tables? If you run an ALTER TABLE table_name TYPE=old_type (be sure to replace old_type with whatever the table currently is), it should rebuild the table. Check the docs on mysql.com, there are a bunch of pages about upgradin

Re: Upgrading to 5.0.15

2005-12-30 Thread Christian Meisinger
Gary Richardson wrote: > We moved directly from 4.0.20 to 5.0.16. Worked like a charm. I had a > script that went through and optimized all tables with keys on > text/varchar and char fields. > > We're also slowly ALTERing innodb tables to get them into the new > compact format. i tryed to update

Re: Upgrading to 5.0.15

2005-12-28 Thread Gary Richardson
We moved directly from 4.0.20 to 5.0.16. Worked like a charm. I had a script that went through and optimized all tables with keys on text/varchar and char fields. We're also slowly ALTERing innodb tables to get them into the new compact format. On 12/28/05, Gleb Paharenko <[EMAIL PROTECTED]> wro

Re: Upgrading to 5.0.15

2005-12-28 Thread Gleb Paharenko
Hello. Manual recommends to perform an upgrade step by step. So I suggest you to move to 4.1 at first. When you said 'tablespace' have you meant that you're using InnoDB tables? I'm not sure about them, check the change logs to find out any incompatible changes. In case of MyISAM,very often

Re: upgrading to mysql 5

2005-12-27 Thread PaginaDeSpud
z. Logosur. - Original Message - From: "Peter Brawley" <[EMAIL PROTECTED]> To: "PaginaDeSpud" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, December 27, 2005 10:29 PM Subject: Re: upgrading to mysql 5 />I've upgraded from mysql 4.1 to mysql 5 and some queries

Re: upgrading to mysql 5

2005-12-27 Thread Peter Brawley
>I've upgraded from mysql 4.1 to mysql 5 and some queries >doesn't work. It's not explained on mysql changes incompatibilities... It is: see the first change item, marked 'incompatible change', at http://dev.mysql.com/doc/refman/5.0/en/news-5-0-12.html. We can no longer get away with syntact

Re: upgrading to mysql 5

2005-12-27 Thread SGreen
"PaginaDeSpud" <[EMAIL PROTECTED]> wrote on 12/27/2005 03:33:58 PM: > hi, > I've upgraded from mysql 4.1 to mysql 5 and some queries doesn't work. It's > not explained on mysql changes incompatibilities... > > for example: > > FROM yabbse_topics, yabbse_messages, yabbse_messages as m2 LEFT J

Re: Upgrading from 4.0 to 4.1

2005-05-18 Thread Eric Bergen
When mysql "had trouble starting up" what error messages did it give in the .err file in the datadir? -Eric James Tu wrote: I had to migrate from 4.0.11 to 4.1.12. I saved the data directory from the older version. I also exported all the information using phpMyAdmin's export tool. I have one h

RE: upgrading mysql on RH fedora core 3

2005-03-30 Thread bruce
- From: Florin Andrei [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 8:40 PM To: mysql@lists.mysql.com Subject: Re: upgrading mysql on RH fedora core 3 On Tue, 29 Mar 2005 19:28:56 -0800, bruce <[EMAIL PROTECTED]> wrote: > > we're trying to install mysql/mysql-se

Re: upgrading mysql on RH fedora core 3

2005-03-29 Thread Florin Andrei
On Tue, 29 Mar 2005 20:39:54 -0800, Florin Andrei <[EMAIL PROTECTED]> wrote: > On Tue, 29 Mar 2005 19:28:56 -0800, bruce <[EMAIL PROTECTED]> wrote: > > > > we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running > > into some serious problems. we had mysql/server (3.23.52-3.i386

RE: upgrading mysql on RH fedora core 3

2005-03-29 Thread Tom Crimmins
On Tuesday, March 29, 2005 21:29, bruce wrote: > hi... > > we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are > running into some serious problems. we had mysql/server > (3.23.52-3.i386) running, but needed to go to the higher version... > > can someone tell us how/what we need

Re: upgrading mysql on RH fedora core 3

2005-03-29 Thread Daniel Kasak
bruce wrote: >hi... > >we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running >into some serious problems. we had mysql/server (3.23.52-3.i386) running, >but needed to go to the higher version... > >can someone tell us how/what we need to do to get this working correctly. >act

Re: upgrading mysql on RH fedora core 3

2005-03-29 Thread Florin Andrei
On Tue, 29 Mar 2005 19:28:56 -0800, bruce <[EMAIL PROTECTED]> wrote: > > we're trying to install mysql/mysql-server (4.1.10a-1.i386) and are running > into some serious problems. we had mysql/server (3.23.52-3.i386) running, > but needed to go to the higher version... I was about to attempt the s

Re: upgrading problems

2005-03-17 Thread Gleb Paharenko
Hello. Please, search in MySQL archives (at lists.mysql.com/mysql) about successful solutions to your problem. You may use --focre --nodeps flags for the rpm command. [snip] I want to upgrade mysql client 3.23. to mysql 4.1.10 But when I type rpm -Uvh mysql-client-4.1...rpm It's sa

Re: Upgrading to MySQL 4.1X Win32 Horror

2005-02-27 Thread Daniel Kasak
zzapper wrote: None of your db apps will now run! It's something to do with a new password algorithm You are supposed to be able to fix this by specifying "old passwords" in your new my.ini You are also advised to upgrade Perl,PHP, Drivers etc This issue has been raised basically every day i

Re: Upgrading mySql from 3.23 to 4.1.10

2005-02-23 Thread Gleb Paharenko
Hello. Install MySQL-client-4.1.10-0.i386.rpm. "Troy Richard" <[EMAIL PROTECTED]> wrote: > I have upgraded from mysql 3.23 to 4.1.10 everything seems to be working. > I'm trying to run the mysql_fix_privilege_tables script to update the > privileges and I'm getting the following error:

Re: Upgrading from 3.23.57 to 4.1.9 using mysqldump

2005-02-11 Thread Gleb Paharenko
Hello. Try --complete-insert command line option for mysqldump. See: http://dev.mysql.com/doc/mysql/en/mysqldump.html [EMAIL PROTECTED] wrote: > Hi, > > I just tried to upgrade from mysql 3.23.57 (SPARC/Solaris) to 4.1.9 > (i386/Linux) using mysqldump but when importing the dump on

RE: Upgrading from 3.23.57 to 4.1.9 using mysqldump

2005-02-10 Thread Kevin Cowley
Modify the insert statement so that you name the column you're inserting to. INSERT INTO `db` (put the column names in here) VALUES('localhost','dbxxx','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y'),. .. Kevin Cowley R&D Tel: 0118 902 9099 (direct line) Email: [EMAIL PROTECTED] Web: http://www.alc

Re: upgrading from 4.1.8 to 4.1.9

2005-02-06 Thread Robert L Cochran
I'm using Fedora Core 3 and just did an upgrade from 4.1.7 to 4.1.9, using Linux AMD64 rpms from the MySQL web site. It looks like everything went well. For me, the hard part was backing up my databases with mysqldump -- see my comments under the thread "MySQL upgrading" on this list. I shut d

Re: Upgrading to MySQL 5 (for testing)

2004-12-20 Thread Gleb Paharenko
Hello. Yes, if you have one of the last releases of MySQL, you can try to test the fifth version. But some features will be unavailable. See: http://dev.mysql.com/doc/mysql/en/Upgrading-from-4.1.html "Jonathan Villa" <[EMAIL PROTECTED]> wrote: > I have an installation of 4.1 and 5 runn

Re: Upgrading from 3.23.58 to 4.1

2004-12-08 Thread A. Clausen
Joshua J. Kugler wrote: Take a look at http://mysql.he.net/doc/mysql/en/Upgrade.html Hmmm... Can 4.1 mirror a 3.2 server? That might be a good deal easier. -- A. Clausen [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.

Re: Upgrading from 3.23.58 to 4.1

2004-12-07 Thread Joshua J. Kugler
Take a look at http://mysql.he.net/doc/mysql/en/Upgrade.html j- k- On Tuesday 07 December 2004 15:01, A. Clausen said something like: > I've been running, with great success, version 3.23.58 on my Win2k box > for quite a while now, but am interested in moving up to 4.1. Is there > any in

Re: Upgrading from 3.23.58 to 4.1

2004-12-07 Thread Eric Bergen
The 'gotchas' are listed in the manul for 3.23 to 4.0 here: http://dev.mysql.com/doc/mysql/en/Upgrading-from-3.23.html and from 4.0 to 4.1 here: http://dev.mysql.com/doc/mysql/en/Upgrading-from-4.0.html On Tue, 07 Dec 2004 16:01:51 -0800, A. Clausen <[EMAIL PROTECTED]> wrote: > I've been running,

Re: Upgrading 3.23 to 4.1

2004-12-07 Thread Gleb Paharenko
Hello. perror 13 Error code 13: Permission denied Check if you have necessary permissions on your data directory. "Aaron E. Diehl" <[EMAIL PROTECTED]> wrote: > Hello All, > > I'm having trouble upgrading 3.23. to 4.1. Since I don't want to break > production, I'm trying to start

Re: Upgrading bundled ver of mysql included with php 4.3.1

2004-11-29 Thread Hassan Schroeder
Stembridge, Michael wrote: I have tried recompiling php 4.3.1 without "--with-mysql" on the configure line. Doing so did not remove the builtin 3.23.49 package. You need to run configure with the new MySQL directory explicitly specified, e.g. ./configure --with-mysql=/usr/local/mysql_4.1.7 HTH, -

  1   2   >