[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: errore database



ho provato a fare come mi hai suggerito, rinomino cartella e do permessi 000 cosi non ci legge, creo db, e poi eseguo il mio sql ma si blocca alla prima query di creazione tabella: ERROR 1005 (HY000) at line 33: Can't create table '1_whiterip.actions' (errno: 121)

dove la query è la seguente

CREATE TABLE `actions` (
`aid` varchar(255) NOT NULL DEFAULT '0' COMMENT 'Primary Key: Unique actions ID.', `type` varchar(32) NOT NULL DEFAULT '' COMMENT 'The object that that action acts on (node, user, comment, system or custom types.)', `callback` varchar(255) NOT NULL DEFAULT '' COMMENT 'The callback function that executes when the action runs.', `parameters` longblob NOT NULL COMMENT 'Parameters to be passed to the callback function.',
  `label` varchar(255) NOT NULL DEFAULT '0' COMMENT 'Label of the action.',
  PRIMARY KEY (`aid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores action information.';
/*!40101 SET character_set_client = @saved_cs_client */;

proprio non capisco cosa ci sia di sbagliato

Il 30/10/2013 14:16, Gian Uberto Lauri ha scritto:
Nicola Scattolin writes:
  > io ho il backup del db in sql non dei file, se io rinomino la cartella o
  > la sposto, e poi ricreo il database da sql?
  >

Crei tabelle e database (che mysql partendo considererà non esistenti)
e poi vai con le import.


--
Nicola
Ser.Tec s.r.l.
Via E. Salgari 14/E
31056 Roncade, Treviso
http://dpidgprinting.com
http://twitter.com/sertecsrl
http://www.facebook.com/sertecsrl
http://www.youtube.com/sertectube


Reply to: