I have written some sql codes in a file named sql.sql and I want to install my database using this file. How can I do it? Please help me out....
here is the sql code from the file sql.sql
CREATE DATABASE IF NOT EXISTS wm;
USE wm;
CREATE TABLE IF NOT EXISTS users(
id int primary key auto_increment,
username varchar(25) not null,
password varchar,
email varchar,
fullname varchar
);