Forums / Install & configuration / running upgrade scripts

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!

eZ debug

Timing: Jan 31 2025 07:37:54
Script start
Timing: Jan 31 2025 07:37:54
Module start 'content'
Timing: Jan 31 2025 07:37:54
Module end 'content'
Timing: Jan 31 2025 07:37:54
Script end

Main resources:

Total runtime0.2867 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9453180.8359
Module start 'content' 0.00690.0063 768.781393.7734
Module end 'content' 0.01320.2734 862.5547522.5313
Script end 0.2866  1,385.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.1810200.0002
Check MTime0.00130.4563200.0001
Mysql Total
Database connection0.00070.227410.0007
Mysqli_queries0.238783.24751410.0017
Looping result0.00120.43341390.0000
Template Total0.273095.210.2730
Template load0.00070.246210.0007
Template processing0.272394.968910.2723
Override
Cache load0.00050.172710.0005
Sytem overhead
Fetch class attribute can translate value0.00080.285710.0008
XML
Image XML parsing0.00020.074310.0002
General
dbfile0.00772.6777200.0004
String conversion0.00000.003230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs