Error upgrade script 3.9.2 to 3.10

Author Message

Vicente Olivan

Wednesday 31 October 2007 5:15:12 am

I´m upgrading 3.9.2 to 3.10. I downloaded the file ranges.js in ez root directory and run the script displays the following error:

php bin/php/updateisbn13.php --file=ranges.js

Error: couldn't connect to database 'nextgen'
       for mysql try:
          mysql -e "create database nextgen;"
          mysql tmp < kernel/sql/mysql/kernel_schema.sql
       or use --help for more info

Do I have to copy the file in bin/php?
It´s a bug?
Thanks

Kristof Coomans

Wednesday 31 October 2007 9:02:05 am

Hi Vicente

Can you try to specify a site access on the command line with "-s siteaccessname"? Does it work then?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Vicente Olivan

Thursday 01 November 2007 8:05:08 am

Thanks Kristof
I`m stupid :-)
Grettings

fabian schoen

Thursday 01 November 2007 9:58:34 am

Hi

A "side"-question:

If you don't have the possibility to run scripts via a command line (no ssh), what solutions are possible?
Edit the php script and add the parameter like "-s" hardcoded?

To run the SQL scripts is not a problem.

regards
fabian

Vicente Olivan

Thursday 01 November 2007 3:11:50 pm

Hi fabian

If you use webmin or usermin in <b>Others > Custom Commands</b> you can run scripts... but you must have your permission to do this.

Good luck

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