Mysql 为应用数据库创建新用户
假如我们再使用mantis bug tool来管理项目bug。那我们需要为为其在mysql中建立一个专属数据库bugtracker。
以下步骤是需要做的:
1.创建bugtracker数据库供mantis来使用,here we go! simplely type in these code:
mysql>mysql -uroot -proot
mysql>create database bugtracker default charset utf8 another way
mysql>source c:/scripts/myscript.sql
?
导出:backup your database???
cmd>mysqldump -umantis -preport bugtracker > /home/superman/backup/mantis.sql
?
?
?