Fastest Web Hosting

mysql cant create database

0 votes
asked Sep 1, 2016 in Mysql by naseebsingh (2,160 points)

i have a probelm.i getting the error agian and agian

CREATE DATABASE student ERRORCODE 1007 CANT CREATE DATABASE student database exists
my code is here

CREATE DATABASE student;

DROP TABLE IF EXISTS marks;

CREATE TABLE marks (
);
DROP TABLE IF EXISTS Spiel;
CREATE TABLE Spiel ();

something fault in that so tell me about that fault.
Thanks

1 Answer

0 votes
answered Sep 11, 2016 by medbouhat (340 points)

There is already a database named student, delete it and try your code.

Job Board

TechnicalSharp is a technical community of developers where they are sharing their knowledge and solutions and against it they are getting the score point which help them to make profile strong which is under eyes on MNC's
...