running upgrade scripts

Author Message

Halvor M

Wednesday 21 December 2005 4:25:45 pm

I seem to be having problems actually running the upgrade scripts. Once I enter the command, I get a lot of text running over my screen (basically the commands for mysql), and the whole process lasts for only a second.

This is what i wrote:
D:\www\_site\update\database\mysql\3.5>d:/wamp/mysql/bin/mysql -u <username> -p <password> <databasename> < dbupdate-3.5.1-to-3.5.2.sql

username, password and databasename were all supplied correctly. I suspect there is a very easy fix to this (wrong path or something like that).

Appreciate any input, been losing way to much sleep over this upgrade...

Halvor M

Friday 23 December 2005 1:11:53 am

I've been trying a lot of variations here, but without success.

Seems like my comp is just reciting the file, not actually executing it...

Any ideas out there?

Hans Aikema

Friday 23 December 2005 12:24:53 pm

You might try changing the buffer-size of your CMD prompt:
in the CMD window menu (left side of the titlebar) choose properties, on tab 'layout' change the value for the 'height' of the screenbuffer size (e.g. 500), it's the number of lines you can still scroll back in the window.

That way you're at least able to tell what all the replies from mysql are

I did some upgrades myself to get a site from 3.4.1 (or something like that) all the way to 3.7.1 when my hosting provider suddenly decided to upgrade to PHP 4.4. The transition from 3.5.1 to 3.5.2 went smoothly as far as I can recall

you might also enable logging on your mySQL server. See the MySQL website for more info on achieving this:
http://dev.mysql.com/doc/refman/4.1/en/log-files.html

Halvor M

Friday 23 December 2005 3:37:50 pm

Thank you so much for your reply - it gave me the "go" to fool around some more.
This resulted in the scripts running and my system being operational again :-)

the error was the <database> part, which I deleted and everything was fine. Took 1,5 min to run the various scripts... !!!

Thanks mate!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:12:39
Script start
Timing: Jan 19 2025 01:12:39
Module start 'layout'
Timing: Jan 19 2025 01:12:39
Module start 'content'
Timing: Jan 19 2025 01:12:40
Module end 'content'
Timing: Jan 19 2025 01:12:40
Script end

Main resources:

Total runtime0.7335 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1719152.6250
Module start 'layout' 0.00520.0027 741.796939.4453
Module start 'content' 0.00790.7243 781.2422479.8594
Module end 'content' 0.73220.0012 1,261.101612.1719
Script end 0.7334  1,273.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4243160.0002
Check MTime0.00130.1774160.0001
Mysql Total
Database connection0.00080.108510.0008
Mysqli_queries0.689493.9866600.0115
Looping result0.00060.0786580.0000
Template Total0.704196.020.3521
Template load0.00220.305420.0011
Template processing0.701995.694020.3509
Template load and register function0.00030.037310.0003
states
state_id_array0.00120.159810.0012
state_identifier_array0.00080.103720.0004
Override
Cache load0.00180.2488240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093120.0003
Fetch class attribute name0.00110.143640.0003
XML
Image XML parsing0.00020.026920.0001
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00060.0764100.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs