summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service/src
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2018-03-02 15:23:42 +0800
committerluxin <luxin7@huawei.com>2018-03-02 15:23:42 +0800
commit5fe0261643b7838f31e9a87146fff53f868206c5 (patch)
tree2dabc7d4cbe2ca24318cc08aaf8684409baea938 /huawei/vnfmadapter/VnfmadapterService/service/src
parent3903da6498bd24b4fdeabcb5b763bd6248297a97 (diff)
Replace mysql connector with MariaDB connector
Change-Id: I6b17c31dbb3221e054a1b6424d6a62947c03770c Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/spring/Vnfmadapter/services.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/spring/Vnfmadapter/services.xml b/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/spring/Vnfmadapter/services.xml
index 58240744..972d2210 100644
--- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/spring/Vnfmadapter/services.xml
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/resources/spring/Vnfmadapter/services.xml
@@ -43,8 +43,10 @@
<bean id="jsonProvider" class="org.codehaus.jackson.jaxrs.JacksonJsonProvider" />
<bean id="source" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
- <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
- <property name="url" value="jdbc:mysql://localhost:3306/vnfmdb" />
+ <!-- <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
+ <property name="url" value="jdbc:mysql://localhost:3306/vnfmdb"/> -->
+ <property name="driverClassName" value="org.mariadb.jdbc.Driver"/>
+ <property name="url" value="jdbc:mariadb://localhost:3306/vnfmdb"/>
<property name="username" value="root"/>
<property name="password" value="rootpass"/>
</bean>