Hallo habe ein Problem müste eine sql datei in meine datenbank eintragen, leider kommt immer ein fehler
"DROP DATABASE" Anweisung wurde Deaktiviert
ich glaube nicht das es an den rechten liegt da ich das auch schon als root versucht habe ein zu fügen!
Kann mir vieleicht einer helfen?
Code:
DROP DATABASE IF EXISTS rlscentre;
CREATE DATABASE rlscentre;
USE rlscentre;
GRANT ALL PRIVILEGES ON rlscentre.* TO rlscentre@localhost IDENTIFIED BY 'rlscentre' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON rlscentre.* TO rlscentre@127.0.0.1 IDENTIFIED BY 'rlscentre' WITH GRANT OPTION;
# set password here ---------------------------------------------------------^
DROP TABLE IF EXISTS members;
CREATE TABLE members (
name text NOT NULL,
flags text NOT NULL
) TYPE=MyISAM;
DROP TABLE IF EXISTS rc;
CREATE TABLE rc (
release text NOT NULL,
rcc text NOT NULL,
sites text NOT NULL,
checked text NOT NULL,
couried text NOT NULL,
KEY release (release(1))
) TYPE=MyISAM;
DROP TABLE IF EXISTS releases;
CREATE TABLE releases (
release text NOT NULL,
date date NOT NULL default '0000-00-00',
rcc text NOT NULL,
nuked text NOT NULL,
KEY release (release(1))
) TYPE=MyISAM;
# told you to edit the file !!!
DROP DATABASE IF EXISTS rlscentre;