Jump to content
  • 0

Probleme Baza de Date


Question

Posted

Imi spuneti si mie va rog de ce imi da eroarea asta la baza de date cand vreau sa o urc pe phpmyadmin?

Citat

Comanda SQL:

--
-- Bază de date: `test`
--
-- --------------------------------------------------------
--
-- Structură tabel pentru tabel `banlog`
--
CREATE TABLE `banlog` (

`ID` INT( 11 ) NOT NULL ,
`ip` VARCHAR( 25 ) NOT NULL ,
`player` VARCHAR( 25 ) NOT NULL ,
`admin` VARCHAR( 25 ) NOT NULL ,
`reason` VARCHAR( 60 ) NOT NULL ,
`day` INT( 11 ) NOT NULL DEFAULT 0,
`time` TIMESTAMP NOT NULL DEFAULTCURRENT_TIMESTAMP( )

) ENGINE = MYISAM DEFAULT CHARSET = latin1;

 

2 answers to this question

Recommended Posts

  • 0
Posted

Am incercat sa creez un tabel cu aceleasi caracteristici, functioneaza perfect. Incearca sa vezi daca nu ai alt tabel cu acelasi nume sau incearca bifand la `ID` sa fie cu AUTO_INCREMENT.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.