LAMP之路

不积跬步,无以至千里!

mysql导入数据库脚本命令

2013-9-13 一抹阳光 数据库

mysql -uroot -p123456

create database dedecms character set utf8;

use dedecms;

SOURCE ~/db/dedecms.sql

GRANT SELECT,UPDATE,INSERT,DELETE ON dedecms.* TO 'sa25'@'localhost' IDENTIFIED BY '123456';