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;

Geh zurück

Möchten Sie
die Unterstützung von
einem Experten erhalten?

Unsere Mitarbeiter stehen Ihnen jederzeit für Fragen zur Verfügung. Kontaktieren Sie uns für kostenlose Hilfe ohne Verpflichtung.

Kontakt Kontakt
Informationen zu Cookies
Wir verwenden Cookies, um unsere Dienste bereitzustellen. Durch die Nutzung dieser Website stimmen Sie der Verwendung von Cookies zu.
AKZEPTIEREN ABFALL INFORMATIV