Can't import Mysql database

Author Message

kenneth kvalvik

Monday 31 March 2003 11:59:48 am

Hi all!

I've decided to give ezPublish 3 a go. But I'm having trouble importing the demokernel.sql or the kernel_clean.sql into the database (using phpmyadmin).

I get this errormessage:
SQL-query :

* - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * - * - CREATE TABLE ezapprove_items(

id int( 11 ) NOT NULL auto_increment,
workflow_process_id int( 11 ) NOT NULL default '0',
collaboration_id int( 11 ) NOT NULL default '0',
PRIMARY KEY ( id )
) TYPE = MyISAM

MySQL said:

You have an error in your SQL syntax near '---------------------------------------------------------
--
--

CREATE TABLE ez' at line 2

Anyone that can imagine what I'm doing wrong?

Kenneth

John Hoskins

Monday 31 March 2003 6:02:41 pm

Make sure the database is completely empty.
Use the command line. Looks like a phpmyadmin problem is screwing with the file.

kenneth kvalvik

Monday 31 March 2003 10:27:54 pm

Now I only need to solve this little problem: Maximum execution time of 30 seconds exceeded in /home/webjourn/public_html/ezpublish/lib/ezi18n/classes/ezcodepage.php on line 92

But I think I saw something somewhere...

;-)

Thanks a lot!

John Hoskins

Wednesday 02 April 2003 12:00:20 pm

http://ez.no/developer/ez_publish_3/bug_reports/time_out_in_rebuilding_translation_cache/solution_to_timeout_but

short answer - you get a time first time through with non eng-GB language set.

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 18 2025 10:40:32
Script start
Timing: Jan 18 2025 10:40:32
Module start 'layout'
Timing: Jan 18 2025 10:40:32
Module start 'content'
Timing: Jan 18 2025 10:40:33
Module end 'content'
Timing: Jan 18 2025 10:40:33
Script end

Main resources:

Total runtime0.7411 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.0068 589.4609152.6406
Module start 'layout' 0.00680.0030 742.101639.4766
Module start 'content' 0.00980.7298 781.5781479.6797
Module end 'content' 0.73960.0015 1,261.257812.4609
Script end 0.7411  1,273.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5167160.0002
Check MTime0.00130.1805160.0001
Mysql Total
Database connection0.00130.181010.0013
Mysqli_queries0.690493.1508600.0115
Looping result0.00060.0826580.0000
Template Total0.704695.120.3523
Template load0.00260.354420.0013
Template processing0.701994.710020.3510
Template load and register function0.00030.036310.0003
states
state_id_array0.00140.188210.0014
state_identifier_array0.00090.125220.0005
Override
Cache load0.00220.3013310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093520.0003
Fetch class attribute name0.00110.149140.0003
XML
Image XML parsing0.00020.029720.0001
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00060.0843100.0001
String conversion0.00000.001540.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
7content/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: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs