Login
Nome utente:

Password:

Ricorda



Recupero password

Registrati!
Navigazione
Utenti più attivi
1 Defkon1
Defkon1
6510
2 slyss
slyss
3387
3 blueangel
blueangel
1921
4 ianez
ianez
1914
5 urban
urban
1476
6 timgno
timgno
1420
7 dantom
dantom
1233
8 Energiko
Energiko
1013
9 unico77
unico77
985
10 Kirky
Kirky
862
Utenti Online
6 utente(i) online
(4 utente(i) in Forum)

Iscritti: 0
Ospiti: 6

altro...
messaggio di report*
Codice di verifica*

Se l'immagine non è chiara, premere qui per aggiornare.


Inserire le lettere visualizzate nell'immagine
Il codice non è sensibile a Maiuscole/minuscole
Numero massimo di tentativi: 10
 

Re: Copia e ripristino DB

Elemento: Re: Copia e ripristino DB
BY Metalslug su 19/4/2012 1:35:03

Mi rendo conto che sto cercando di fare qualcosa che non è adatto alle mie capacità...

Leggendo la discussione qui su XI mi è venuta la brillante idea di convertire i database da latin1 a utf8.

La conversione sembra funzionare, tranne in alcune tabelle che al momento dell importazione mi da i seguenti messaggi:

QueryCREATE TABLE xxxx_PDdownloads_indexpage indeximage varchar(255) DEFAULT 'blank.png' NOT NULLindexheading varchar(255) DEFAULT 'PD-Downloads' NOT NULLindexheader longtext NOT NULLindexfooter longtext NOT NULLnohtml tinyint(8) DEFAULT '1' NOT NULLnosmiley tinyint(8) DEFAULT '1' NOT NULLnoxcodes tinyint(8) DEFAULT '1' NOT NULLnoimages tinyint(8) DEFAULT '1' NOT NULLnobreak tinyint(4) DEFAULT '0' NOT NULLindexheaderalign varchar(25) DEFAULT 'left' NOT NULLindexfooteralign varchar(25) DEFAULT 'center' NOT NULLKEY indexheading (indexheading), KEY indexheader (indexheader), KEY indexfooter (indexfooter) );

MySQLBLOB/TEXT column 'indexheader' used in key specification without a key


Mentre la tabella è cosi composta:

# Backup for MySQL
#
# --------------------------------------------------------

#
# Table structure for table xxxx_PDdownloads_indexpage
#

DROP TABLE IF EXISTS xxxx_PDdownloads_indexpage;
CREATE TABLE xxxx_PDdownloads_indexpage (
   
indeximage varchar(255) DEFAULT 'blank.png' NOT NULL,
   
indexheading varchar(255) DEFAULT 'PD-Downloads' NOT NULL,
   
indexheader longtext NOT NULL,
   
indexfooter longtext NOT NULL,
   
nohtml tinyint(8) DEFAULT '1' NOT NULL,
   
nosmiley tinyint(8) DEFAULT '1' NOT NULL,
   
noxcodes tinyint(8) DEFAULT '1' NOT NULL,
   
noimages tinyint(8) DEFAULT '1' NOT NULL,
   
nobreak tinyint(4) DEFAULT '0' NOT NULL,
   
indexheaderalign varchar(25) DEFAULT 'left' NOT NULL,
   
indexfooteralign varchar(25) DEFAULT 'center' NOT NULL,
   
KEY indexheading (indexheading),
   
KEY indexheader (indexheader),
   
KEY indexfooter (indexfooter)
);

#
# Dumping data for table xxxx_PDdownloads_indexpage
#

INSERT INTO xxxx_PDdownloads_indexpage VALUES ('logo-en.gif'''''''00001'left ''left');


Cosa c è di sbagliato che non conosco?
E' un problema di importazione o la conversione in utf8 dovrebbe cambiare altro?
XOOPS ITALIA © 2002-2012 - Powered by XOOPS