码迷,mamicode.com
首页 > 数据库 > 详细

opensips执行opensipsdbctl create时报错

时间:2014-12-20 02:15:43      阅读:948      评论:0      收藏:0      [点我收藏+]

标签:opensips

在执行opensipsdbctl create时报下列错误

[root@opensips opensips]# opensipsdbctl create
MySQL password for root:
INFO: test server charset
/usr/lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 105: mysql: command not found
/usr/lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 106: mysql: command not found

WARNING: Failed to get the available and used character sets

 

解决方法:

root@opensips opensips]# yum -y install mysql

重新执行该命令

[root@opensips opensips]# opensipsdbctl create
MySQL password for root:
INFO: test server charset
INFO: creating database opensips ...
INFO: Core OpenSIPS tables succesfully created.
Install presence related tables? (y/n): y
INFO: creating presence tables into opensips ...
INFO: Presence tables succesfully created.
Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist b2b registrant call_center? (y/n): y
INFO: creating extra tables into opensips ...
INFO: Extra tables succesfully created.

本文出自 “云人生” 博客,请务必保留此出处http://ovcer.blog.51cto.com/1145188/1591868

opensips执行opensipsdbctl create时报错

标签:opensips

原文地址:http://ovcer.blog.51cto.com/1145188/1591868

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!