Is it possible to dump sql file with phpmyadmin?

Author Message

Antonio calvi

Thursday 17 April 2003 10:43:32 am

I get this messge:

Errore

query SQL :

--
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --
--
--
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

Messaggio di MySQL:

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

CREATE TABLE ez' at line 2

mikael lindqvist

Thursday 17 April 2003 10:55:08 am

I had the same problem and the cause of this mess has to do with the comment style in your sql file.

Replace all "--" with "#" (the latter is the older form of comment style in MySQL).

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.

eZ debug

Timing: Jan 18 2025 15:58:34
Script start
Timing: Jan 18 2025 15:58:34
Module start 'layout'
Timing: Jan 18 2025 15:58:34
Module start 'content'
Timing: Jan 18 2025 15:58:35
Module end 'content'
Timing: Jan 18 2025 15:58:35
Script end

Main resources:

Total runtime0.8106 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0102 588.1641152.6563
Module start 'layout' 0.01020.0040 740.820339.5078
Module start 'content' 0.01420.7947 780.3281459.6719
Module end 'content' 0.80900.0016 1,240.00008.1094
Script end 0.8106  1,248.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4730160.0002
Check MTime0.00150.1799160.0001
Mysql Total
Database connection0.00190.237110.0019
Mysqli_queries0.760293.7826540.0141
Looping result0.00050.0639520.0000
Template Total0.766094.520.3830
Template load0.00200.246620.0010
Template processing0.764094.249720.3820
Template load and register function0.00010.017910.0001
states
state_id_array0.00080.102410.0008
state_identifier_array0.00170.214220.0009
Override
Cache load0.00160.2006250.0001
Sytem overhead
Fetch class attribute can translate value0.00050.064820.0003
Fetch class attribute name0.00120.145920.0006
XML
Image XML parsing0.00020.027120.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00120.1469100.0001
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs