.sql problem -_-
#1

hi.. i m trying to run pink panthers cops and robbers... its a old school dumped script.. m kinda try to make it alive.. i fixed its pawno shits.. but when i try to upload .sql file to database it shos this error -

Quote:

Error
SQL query:

--
-- Database: `6510_sirjohn`
--
-- --------------------------------------------------------
--
-- Table structure for table `banned`
--
CREATE TABLE IF NOT EXISTS `banned` (

`User` VARCHAR( 24 ) NOT NULL ,
`Banned` VARCHAR( 24 ) NOT NULL ,
`IP` VARCHAR( 50 ) NOT NULL ,
`Date` VARCHAR( 10 ) NOT NULL ,
`Time` VARCHAR( 10 ) NOT NULL ,
`Reason` VARCHAR( 512 ) NOT NULL
) ENGINE = MYISAM DEFAULT CHARSET = latin1;

MySQL said: Documentation

#1046 - No database selected

if needed i can give the .sql file too.. just help me -_-
Reply
#2

Can you give us structure of database? And where are you uploading it, directly in created database?
Reply
#3

Make sure you actually have a table on the MYSQL called 'banned'.

Also make sure the database is selected too.
Reply
#4

Check the error
Код:
#1046 - No database selected
Reply
#5

You need to choose database where .sql you need to upload

Код:
#1046 - No database selected
Reply
#6

if your using phpMyAdmin create a new DB then open the new DB then click the import tab then import
Reply
#7

click on the port which you are using then import it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)