home //

Database MySQL

Non riesco a creare le tabelle nel mio database MySQL

Alcuni programmi, come anche il software MySQL Query Browser da noi consigliato, quando creano una tabella sul tuo database MySQL usano di default il motore INNODB.

Questo tipo di motore non è supportato sui nostri server, pertanto è necessario specificare un diverso storage engine.

Se utilizzi il software MySQL Query Browser, basta selezionare la scheda Table options e scegliere il tipo MyISAM come storage engine.

Questo tipo di motore di garantisce maggiore sicurezza ed affidabilità rispetto al tipo INNODB.

Se invece utilizzi il codice SQL per la creazione delle tue tabelle, puoi specificare il tipo di motore direttamente nel codice.

Ecco un esempio:

  CREATE TABLE `utenti` (
    `id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
    `nome` VARCHAR(45) NOT NULL DEFAULT '',
    `cognome` VARCHAR(45) NOT NULL DEFAULT '',
    PRIMARY KEY(`id`)
  )
  ENGINE = MYISAM
  CHARACTER SET utf8 COLLATE utf8_general_ci;

Go back

Do you need
technical
assistance?

Our staff is always at your disposal for any queries. Contact us for free and not demanding support.

Contact Contact us
Cookies information
We use cookies to provide our services. By using this site you consent to the use of cookies.
ACCEPT DECLINE DISCLOSURES