首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

Mysql 替应用数据库创建新用户

2012-08-15 
Mysql 为应用数据库创建新用户假如我们再使用mantis bug tool来管理项目bug。那我们需要为为其在mysql中建

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

?

?

?

热点排行