Jump to content
php.lv forumi

ka lai to izdara ieks phpmyadmin!


ecoc

Recommended Posts

Tatad, ja es gribu lai man sis plugins darbotos man ir jaizdara sis:

 

Add the mySQL database from `sql.txt`, via upload or input with phpMyAdmin.

 

Un taja sql.txt ir sis sarakstits:

CREATE TABLE `page` (

`id` int(10) NOT NULL auto_increment,

`name` text NOT NULL,

`shortname` text NOT NULL,

`type` enum('admin','registered','all') NOT NULL default 'all',

`content` text,

`user_name` text,

`user_id` text,

`date` text,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

 

Es nesapratu kura vieta man ir tas jaraksta?? ( ka phpmyadmin to es saprotu )

Link to comment
Share on other sites

Rekur iekopeju paradas error :

 

SQL query:

 

CREATE TABLE `page` (

`id` int( 10 ) NOT NULL AUTO_INCREMENT ,

`name` text NOT NULL ,

`shortname` text NOT NULL ,

`type` enum( 'admin', 'registered', 'all' ) NOT NULL default 'all',

`content` text,

`user_name` text,

`user_id` text,

`date` text,

PRIMARY KEY ( `id` )

) ENGINE = InnoDB DEFAULT CHARSET = latin1 AUTO_INCREMENT =1

 

MySQL said: Documentation

#1289 - The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working

Link to comment
Share on other sites

Kopē tikai

CREATE TABLE `page` (

`id` int( 10 ) NOT NULL AUTO_INCREMENT ,

`name` text NOT NULL ,

`shortname` text NOT NULL ,

`type` enum( 'admin', 'registered', 'all' ) NOT NULL default 'all',

`content` text,

`user_name` text,

`user_id` text,

`date` text,

PRIMARY KEY ( `id` )

)

Link to comment
Share on other sites

×
×
  • Create New...