Forums / Setup & design / Upgrading from 3.3-3 to 3.3-4 in the way to 3.5

Upgrading from 3.3-3 to 3.3-4 in the way to 3.5

Author Message

John Mina

Tuesday 19 April 2005 7:34:41 am

Hi all ,
I am not sure where ishould post this message but hope here will be the right place.
As in the subject i am trying to upgrade from version 3.3-3 to 3.3-4 but i am struggeling with 2 point Mysql upgrading:
I upoaded a version of the 3.3-4 to my server and followed the instructions at http://ez.no/ez_publish/documenta...ading_ez_publish_from_3_a_b_to_3_x_y

but it shoes as the command line interface doesn't understand me and it just gave me the help of the command mysql.
do any one please have Any idea how to solve this ?

Second Point is to run the upgrading settings files as mentioned using the command :
/usr/local/php/bin/php -C update/common/scripts/generateoverridesettings.php

BUT i am strugelling cuz i don't find the right area where PHP is installed at .

How would i know it or run it without knowing it ?

Hope some one can help me with that
a lot of thanks before anything
Thanks
John Mina

Jack Rackham

Tuesday 19 April 2005 8:35:26 am

Upgrade the database like this (ez description a little confusing ;-)):

mysql -u yourusername -p yourdatabase < dbupdate-3.a-b-to-3.x.y.sql

Run from upgrade dir update/database/mysql/3.x/.

Jack Rackham

Tuesday 19 April 2005 11:02:42 am

to find php.

whereis php

John Mina

Wednesday 27 April 2005 3:54:14 am

Dear HÃ¥vard K,
Really apprecitating this help
For PHP it worked and it should me the path ,
But fr mysql command you gave me i is actually the same
<i>
mysql Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Usage: mysql [OPTIONS] [database]

-?, --help Display this help and exit.
-A, --no-auto-rehash No automatic rehashing. One has to use 'rehash' to
get table and field completion. This gives a quicker
start of mysql and disables rehashing on reconnect.
-B, --batch Print results with a tab as separator, each row on
a new line. Doesn't use history file.
--character-sets-dir=...
Directory where character sets are located.
-C, --compress Use compression in server/client protocol.
-D, --database=.. Database to use.
--default-character-set=...
.
.
.
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
--defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read

Possible variables for option --set-variable (-O) are:
connect_timeout current value: 0
max_allowed_packet current value: 16777216
net_buffer_length current value: 16384
select_limit current value: 1000
max_join_size current value: 1000000
</i>

The previous lines and more in between appeared as if i asked for help or something , any clue ?

Thanks for support