Sql script, create a database

Posted by Blanca on Stack Overflow See other posts from Stack Overflow or by Blanca
Published on 2010-06-08T09:18:54Z Indexed on 2010/06/08 9:22 UTC
Read the original article Hit count: 313

Filed under:

Hi!
I have the next file: create_mysql.sql

DROP DATABASE IF EXISTS playence_media; CREATE DATABASE playence_media; USE playence_media;
GRANT ALL PRIVILEGES ON . TO 'media'@'localhost' IDENTIFIED BY 'media' WITH GRANT OPTION;

But I don't know how to create this database. I would like to do it with my terminal, no other graphics interfaces. Thanks

© Stack Overflow or respective owner

Related posts about mysql