Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

import .sql fajla da li overwrituje sve tabele i podatke

  • 24 odgovora
  • 12.804 pregleda

Najnovija ↓

Re: import .sql fajla da li overwrituje sve tabele i podatke 04.11.2016. u 10:43 · pre 121 mesec #21
Pogledaj ovde:

http://dev.mysql.com/doc/refman/5.7/en/mysqldump.html

Evo, da imas:

Code:
--disable-keys, -K

For each table, surround the INSERT statements with /*!40000 ALTER TABLE tbl_name DISABLE KEYS */; and /*!40000 ALTER TABLE tbl_name ENABLE KEYS */; statements. This makes loading the dump file faster because the indexes are created after all rows are inserted. This option is effective only for nonunique indexes of MyISAM tables.


Alternativno, probaj :

--opt

(imas na istom manualu)

Potpis
Please do not feed the Trolls!

Blasphemy? How can I blaspheme? I'm a god!'
Odgovori
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme