readAppfuse-Ant任务(5)

2008-02-23 09:39:41来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

BEGIN: Buildfile: build.xml

v init: defines custom task

v db-create: 建立数据库,授予用户访问权限

<!-- =================================================================== -->

<!-- The "db-create" target creates a database based on properties -->

<!-- from the database.properties file -->

<!-- =================================================================== -->

Ø Mysql-create(建立数据库脚本)的内容:

create database if not exists appfuse;

grant all privileges on appfuse.* to test@"%" identified by "test";

grant all privileges on appfuse.* to test@localhost identified by "test";

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:使用Hibernate Oracle9i R2 处理Clob大文本数据

下一篇:java 的jdom使用类