Błąd przy imporcie

0

Witam, mam problem przy imporcie pliku sql.sql do bazy danych. Wyskakuje mi taki błąd:
Błąd

Zapytanie SQL:

--
-- Baza danych: evil17_home


--
-- Struktura tabeli dla tabeli ControlCraft_logi

CREATE TABLE IF NOT EXISTS ControlCraft_logi (
id int( 11 ) NOT NULL AUTO_INCREMENT ,
nick varchar( 32 ) NOT NULL ,
log varchar( 300 ) NOT NULL ,
czas varchar( 12 ) NOT NULL ,
PRIMARY KEY ( id )

) ENGINE = MYISAM DEFAULT CHARSET = latin2 AUTO_INCREMENT =33;

MySQL zwrócił komunikat: Dokumentacja

#1046 - No database selected

Zawartość pliku sql.sql

-- phpMyAdmin SQL Dump
-- version 4.0.8
-- http://www.phpmyadmin.net

-- Host: localhost
-- Czas wygenerowania: 22 Lip 2014, 19:11
-- Wersja serwera: 5.1.73-rel14.11-log
-- Wersja PHP: 5.3.17

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT /;
/
!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS /;
/
!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION /;
/
!40101 SET NAMES utf8 */;

--
-- Baza danych: evil17_home


--
-- Struktura tabeli dla tabeli ControlCraft_logi

CREATE TABLE IF NOT EXISTS ControlCraft_logi (
id int(11) NOT NULL AUTO_INCREMENT,
nick varchar(32) NOT NULL,
log varchar(300) NOT NULL,
czas varchar(12) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=33 ;

--
-- Zrzut danych tabeli ControlCraft_logi

INSERT INTO ControlCraft_logi (id, nick, log, czas) VALUES
(1, 'evil17', '1000$', '2014-07-02'),
(2, 'ana', 'vip', '2014-07-01'),
(3, 'evil17', '1000$', '2014-07-01'),
(4, 'Batu0007', '1000$', '2014-07-01'),
(5, 'evil17', '1000$s', '2014-07-03'),
(6, 'evil12', '1000$s', '2014-07-03'),
(7, 'ewelina12', '1000$sSerwer : Hardcore', '2014-07-03'),
(8, 'xyz', '1000$s - Serwer : Hardcore', '2014-07-03'),
(9, 'evil17', '601881b97e220aa16c57dbce0c964475 Zrealizowany Voucher ', '2014-07-04'),
(10, 'xyz', 'dd5c500f3abee5c0e2f2e2af5724fcfc Zrealizowany Voucher ', '2014-07-04'),
(11, 'xcz', '6bb2d31c73cc29edd7b3571659318c53 Zrealizowany Voucher ', '2014-07-04'),
(12, 'evil17', '0c3e49509b3862c9a28df4e34dd9d430 Zrealizowany Voucher ', '2014-07-04'),
(13, 'xxx', '601881b97e220aa16c57dbce0c964475 Zrealizowany Voucher ', '2014-07-04'),
(14, 'ewelina12', 'cc30195707ab190d035ae1199bcbb8eb Zrealizowany Voucher ', '2014-07-04'),
(15, 'evil17', 'b8d8ae7b0a6a96595c906a63426d3a87 Zrealizowany Voucher ', '2014-07-04'),
(16, 'xxx', '8a305b1dabd9a82472c6b8ecd063bb91 Zrealizowany Voucher ', '2014-07-04'),
(17, 'specialmama', '8c5e581f3ac6348b5de5523d2fea2a9d Zrealizowany Voucher ', '2014-07-04'),
(18, 'xcxc', '84799bf3303dbe2c4ffc669b5a871c6f Zrealizowany Voucher ', '2014-07-04'),
(19, 'asdf123asdf', 'f4169feb56f9602f6b79a8de2759aa40 Zrealizowany Voucher ', '2014-07-04'),
(20, 'evil17', '4c890c98b07bb2aae0bc0e3b47b55868 Zrealizowany Voucher ', '2014-07-04'),
(21, 'evil17', 'd2b9b829e7d94ea3e49cbc43ae8a0e21 Zrealizowany Voucher ', '2014-07-04'),
(22, 'Sylwek_pl', 'b8d8ae7b0a6a96595c906a63426d3a87 Zrealizowany Voucher ', '2014-07-04'),
(23, 'evil171717', '1000$s - Serwer : Hardcore', '2014-07-04'),
(24, 'evil17', 'test - Serwer : MiamiCraft', '2014-07-06'),
(25, 'evil17', 'test - Serwer : MiamiCraft', '2014-07-06'),
(26, 'xyz', 'test - Serwer : MiamiCraft', '2014-07-06'),
(27, 'yty', 'test - Serwer : MiamiCraft', '2014-07-06'),
(28, 'zxc', 'test - Serwer : MiamiCraft', '2014-07-06'),
(29, 'zxc', 'test - Serwer : MiamiCraft', '2014-07-06'),
(30, 'cvb', 'test - Serwer : MiamiCraft', '2014-07-06'),
(31, 'evil17', 'Diamenty - Serwer : Creative KOD : 8cgny997', '2014-07-22'),
(32, 'ewelina12', 'Diamenty - Serwer : Creative KOD : u8cqzaef', '2014-07-22');


--
-- Struktura tabeli dla tabeli ControlCraft_platnosci

CREATE TABLE IF NOT EXISTS ControlCraft_platnosci (
id int(11) NOT NULL AUTO_INCREMENT,
id_platnosci int(11) NOT NULL,
nazwa varchar(32) NOT NULL,
parametr1 varchar(100) NOT NULL,
parametr2 varchar(100) NOT NULL,
parametr3 varchar(100) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=6 ;

--
-- Zrzut danych tabeli ControlCraft_platnosci

INSERT INTO ControlCraft_platnosci (id, id_platnosci, nazwa, parametr1, parametr2, parametr3) VALUES
(1, 2, 'Dotpay.pl', '14140', 'c1,sms', '0'),
(2, 4, 'Profitsms.pl', '9e9cd57b5ab4f98ed244427b886177d9', '0', '0'),
(3, 1, 'HomePay.pl', , , ''),
(4, 3, 'Zaplac.to', , , ''),
(5, 5, 'Platnosci-online', '111', '11', '0');


--
-- Struktura tabeli dla tabeli ControlCraft_polecenia

CREATE TABLE IF NOT EXISTS ControlCraft_polecenia (
id int(11) NOT NULL AUTO_INCREMENT,
polecenie varchar(500) NOT NULL,
czas varchar(30) NOT NULL,
serwer int(11) NOT NULL,
status int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=144 ;

--
-- Zrzut danych tabeli ControlCraft_polecenia

INSERT INTO ControlCraft_polecenia (id, polecenie, czas, serwer, status) VALUES
(131, 'Say Evil17 TEST1', 'July 6, 2014, 1:41 pm', 1, 0),
(132, 'Say Evil17 TEST2', 'July 6, 2014, 1:41 pm', 1, 0),
(133, 'Say Evil17 TEST1', 'July 6, 2014, 1:41 pm', 11, 0),
(134, 'Say Evil17 TEST2', 'July 6, 2014, 1:41 pm', 11, 0),
(135, 'Say Evil17 TEST1', 'July 6, 2014, 1:41 pm', 10, 0),
(136, 'Say Evil17 TEST2', 'July 6, 2014, 1:41 pm', 10, 0),
(137, 'Say Evil17 TEST1', 'July 6, 2014, 1:41 pm', 9, 0),
(138, 'Say Evil17 TEST2', 'July 6, 2014, 1:41 pm', 9, 0),
(139, 'say tf', 'July 8, 2014, 10:48 pm', 1, 0),
(140, 'say je', 'July 22, 2014, 6:56 pm', 1, 0),
(141, 'say dw', 'July 22, 2014, 6:56 pm', 1, 0),
(142, 'say je', 'July 22, 2014, 7:01 pm', 1, 0),
(143, 'say dw', 'July 22, 2014, 7:01 pm', 1, 0);


--
-- Struktura tabeli dla tabeli ControlCraft_serwery

CREATE TABLE IF NOT EXISTS ControlCraft_serwery (
id int(11) NOT NULL AUTO_INCREMENT,
nazwa varchar(100) NOT NULL,
ip varchar(100) NOT NULL,
port int(11) NOT NULL,
port_rcon int(11) NOT NULL,
haslo_rcon varchar(32) NOT NULL,
pozycja int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=13 ;

--
-- Zrzut danych tabeli ControlCraft_serwery

INSERT INTO ControlCraft_serwery (id, nazwa, ip, port, port_rcon, haslo_rcon, pozycja) VALUES
(1, 'Creative', '5.9.86.162', 27406, 256641, 'SGFzZWxrbw==', 3),
(11, 'MiamiCraft', '87.98.237.92', 25565, 60043, 'R1dMYXhCS0Z4OQ==', 1),
(10, 'Hardcore', '87.98.237.92', 25565, 3611, 'MzYxMQ==', 0),
(9, 'Klocki', '5.39.69.86', 22049, 22049, 'NjU0', 0);


--
-- Struktura tabeli dla tabeli ControlCraft_uslugi

CREATE TABLE IF NOT EXISTS ControlCraft_uslugi (
id int(11) NOT NULL AUTO_INCREMENT,
id_serwera int(11) NOT NULL,
nazwa varchar(100) NOT NULL,
opis_krotki varchar(100) NOT NULL,
opis_dlugi text NOT NULL,
cena_przelew int(11) NOT NULL,
link_przelew varchar(100) NOT NULL,
numer_sms varchar(12) NOT NULL,
tresc_sms varchar(12) NOT NULL,
koszt_sms varchar(12) NOT NULL,
id_uslugi varchar(32) NOT NULL,
komendy text NOT NULL,
ikona text NOT NULL,
pozycja int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=14 ;

--
-- Zrzut danych tabeli ControlCraft_uslugi

INSERT INTO ControlCraft_uslugi (id, id_serwera, nazwa, opis_krotki, opis_dlugi, cena_przelew, link_przelew, numer_sms, tresc_sms, koszt_sms, id_uslugi, komendy, ikona, pozycja) VALUES
(1, 1, 'Vip', ' Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamc', ' Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet me Lorem ipsum dolor sit amet, consectetur ad Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamcipiscing elit. Praesent pretium sit amet metus vel ullamc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamc Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium sit amet metus vel ullamctus vel ullamc', 25, 'http://homepay', '7155', 'AP.VIP', '4.92', '105', 'say NICK 1', 'http://virtualcraft.pl/sklep/img/ub.png', 0),
(2, 1, 'magnat', 'ranga magnat', ' ranga magnatranga magnatranga magnatranga magnatranga magnatranga magnatranga magnat', 10, 'http://homepay/', '92555', 'HPAY.CONTROL', '25', '12302', 'say NICK 1\nsay NICK 2\ngive NICK 32', 'http://virtualcraft.pl/sklep/magnat.png', 0),
(11, 11, 'test', 'say', 'say', 0, '', '7555 ', 'KDW.PROTYP', '798', '5644', 'say NICK 1\nsay NICK 2\nsay NICK 3\nsay NICK 4', 'http://hydra-media.cursecdn.com/minecraft-pl.gamepedia.com/d/d0/Diamondgem2.png?version=73de1690323046695438fcd246a193e9', 0),
(9, 1, 'Diamenty', 'Doładowanie diamentów 64Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium si', 'Dibman', 0, '', '7143', 'AP.EVIL!&', '1,23', 'RKJ1', 'say je\nsay dw', 'http://hydra-media.cursecdn.com/minecraft-pl.gamepedia.com/d/d0/Diamondgem2.png?version=73de1690323046695438fcd246a193e9', 1),
(12, 11, '500 lvl', 'Niedostępny :-)', 'Niedostępny :-)', 0, '', '70555', 'AP.del', '1,68', '1234', 'say GRACZ siemanko :-)', 'http://hydra-media.cursecdn.com/minecraft.gamepedia.com/9/93/Bottle_o%27_Enchanting.png?version=75032b7570d593312f8aa5e357492d2c', 0),
(13, 11, 'Vip 30dni', 'Nieznana :-)', 'Nieznana :-)', 0, '', '70555', 'AP.del', '1,68', '1234', 'say NICK Siemka :-)', 'http://hydra-media.cursecdn.com/minecraft-pl.gamepedia.com/7/7d/%C5%BBelazne_kraty.png?version=3672b0069d1b5b437f70e6517de01f8a', 0);


--
-- Struktura tabeli dla tabeli ControlCraft_ustawienia

CREATE TABLE IF NOT EXISTS ControlCraft_ustawienia (
id int(11) NOT NULL AUTO_INCREMENT,
username varchar(32) NOT NULL,
pass varchar(32) NOT NULL,
styl varchar(32) NOT NULL,
platnosc int(11) NOT NULL,
ogloszenie text NOT NULL,
regulamin_platnosci text NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=2 ;

--
-- Zrzut danych tabeli ControlCraft_ustawienia

INSERT INTO ControlCraft_ustawienia (id, username, pass, styl, platnosc, ogloszenie, regulamin_platnosci) VALUES
(1, 'admin1', 'e10adc3949ba59abbe56e057f20f883e', 'cosmo', 5, 'Witajcie! Aktualnie w naszym sklepie panuje OGROMNA promocja na wszystkie produkty z serwera CREATIVE ! Ceny az -50% ! ', '§1 Postanowienia ogólne \n

\n1. Niniejszy Regulamin normuje zasady i warunki korzystania z serwisu profitsms.pl, zlokalizowanego na \nstronach, podstronach i usługach działających w domenie i subdomenach http://profitsms.pl/.

\n2. Właścicielem i operatorem serwisu jest firma: Internet Sales Solutions Agata Szatyńska, z siedzibą przy \nul. Cukrowa 21/2, 71-004 Szczecin. NIP: 9551927298, REGON: 320974898 zwana dalej Operatorem. \n3. Korzystanie z serwisu jest jednoznaczne z akceptacją regulaminu.

\n \n');


--
-- Struktura tabeli dla tabeli ControlCraft_voucher

CREATE TABLE IF NOT EXISTS ControlCraft_voucher (
id int(11) NOT NULL AUTO_INCREMENT,
voucher varchar(32) NOT NULL,
status int(11) NOT NULL DEFAULT '0',
opis varchar(500) NOT NULL,
komendy text NOT NULL,
serwer int(11) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=48 ;

--
-- Zrzut danych tabeli ControlCraft_voucher

INSERT INTO ControlCraft_voucher (id, voucher, status, opis, komendy, serwer) VALUES
(31, '4c890c98b07bb2aae0bc0e3b47b55868', 1, 'Doładowanie konto o 100 diamentów', 'give NICK 32', 2),
(32, '0c3e49509b3862c9a28df4e34dd9d430', 1, 'Doładowanie konto o 100 diamentów', 'give NICK 32', 2),
(33, 'dd5c500f3abee5c0e2f2e2af5724fcfc', 1, 'Doładowanie konto o 100 diamentów', 'give NICK 32', 2),
(34, '6bb2d31c73cc29edd7b3571659318c53', 1, 'Doładowanie konto o 100 diamentów', 'give NICK 32', 2),
(35, 'd2b9b829e7d94ea3e49cbc43ae8a0e21', 1, 'Doładowanie konto o 100 diamentów', 'give NICK 32', 2),
(36, '601881b97e220aa16c57dbce0c964475', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(37, 'cc30195707ab190d035ae1199bcbb8eb', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(38, 'b8d8ae7b0a6a96595c906a63426d3a87', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(39, '8a305b1dabd9a82472c6b8ecd063bb91', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(40, '8c5e581f3ac6348b5de5523d2fea2a9d', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(41, '84799bf3303dbe2c4ffc669b5a871c6f', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(42, 'f4169feb56f9602f6b79a8de2759aa40', 1, 'Doładowanie konta o 100 diamentów + Konto Vip', 'give NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32\ngive NICK 32', 1),
(43, '56f7a14803481f4e76d433028ca6b8a7', 0, 'Doładowanie konto o 1000^', 'doladowanie NICK 1', 1),
(44, '6707445427fcd7f1dd57f9399f0e7791', 0, 'Doładowanie konto o 1000^', 'doladowanie NICK 1', 1),
(45, '65db2fea69102c96dbda2391bde9483c', 0, 'Doładowanie konto o 1000^', 'doladowanie NICK 1', 1),
(46, '0e97da3034800c935c2451995d5930dd', 0, 'Doładowanie konto o 1000^', 'doladowanie NICK 1', 1),
(47, 'c8437d1ad833e8b20b4418f95b4b8709', 0, 'Doładowanie konto o 1000^', 'doladowanie NICK 1', 1);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT /;
/
!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS /;
/
!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Czy ktoś wie jak rozwiązać ten problem? Byłbym bardzo wdzięczny

0

Dodaj gdzieś tam na początku tego pliku use twojanazwabazy; i następnym razem czytaj komunikaty błędów i myśl.

1

Taki post jest bardzo przydatny...
Użytkownik "admin1" hasło "123456" :)

1 użytkowników online, w tym zalogowanych: 0, gości: 1