Jump to content
  • 0

[Problema]


Kingsley

Question

Am o problema cu baza de date.Imi da eroarea asta:

CREATE TABLE IF NOT EXISTS `bans` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(25) NOT NULL DEFAULT 'name',
  `IP` varchar(16) NOT NULL DEFAULT '000.000.000.000',
  `Admin` varchar(25) NOT NULL DEFAULT 'admin',
  `Reason` varchar(64) NOT NULL DEFAULT 'reason',
  `BanY` int(5) NOT NULL DEFAULT '0',
  `BanM` int(5) NOT NULL DEFAULT '0',
  `BanD` int(5) NOT NULL DEFAULT '0',
  `BanH` int(5) NOT NULL DEFAULT '0',
  `UnbanY` int(5) NOT NULL DEFAULT '0',
  `UnbanM` int(5) NOT NULL DEFAULT '0',
  `UnbanD` int(5) NOT NULL DEFAULT '0',
  `UnbanH` int(5) NOT NULL DEFAULT '0',
  `Days` int(5) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  UNIQUE KEY `Name` (`Name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1

 

MySQL zice: Documentație

#1046 - No database selected

Baza de date: http://www.girlshare.ro/3489071183.4

Retras

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.