Jump to content
  • 0

Question

Posted

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

5 answers to this question

Recommended Posts

  • 0
Posted

intră în baza de date în care vrei să insertezi apasă pe SQL şi dăi paste acolo la baza de date..

                        

 

 

  • 0
Posted

=))

Fail ... Trebuie sa selectezi baza de date dupa care te duci la SQL si introduci ...

242086.png

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.