mysql报ERROR 2003错误的解决_MySQL
root@opensips.clvn.com.cn:/usr/local/opensips/sbin# ./opensipsdbctl create
MySQL password for root:
INFO: test server charset
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.18' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.18' (111)
WARNING: Failed to get the available and used character sets
解决方法
root@opensips.clvn.com.cn# vim /etc/mysql/my.cnf
#bind-address = 127.0.0.1
重新启动mysql
root@opensips.clvn.com.cn# service mysql restart
mysql stop/waiting
mysql start/running, process 24719
再次执行
root@opensips.clvn.com.cn:/usr/local/opensips/sbin# ./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.
问题解决
下一篇: Oracle 10g分区表的自动维护
推荐阅读
-
mysql 发生系统错误1067的解决方法
-
浅析Mysql 数据回滚错误的解决方法
-
MySQL无法读表错误的解决方法(MySQL 1018 error)
-
MYSQL ERROR 1045 (28000): Access denied for user (using password: YES)问题的解决
-
Mysql错误:Too many connections的解决方法
-
新装MySql后登录出现root帐号提示mysql ERROR 1045 (28000): Access denied for use的解决办法
-
navicat连接mysql时出现1045错误的解决方法
-
解决MYSQL连接端口被占引入文件路径错误的问题
-
解决“无法启动mysql服务 错误1069”的方法
-
Mysql数据库绿色版安装教程 解决系统错误1067的方法