mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| asterisk |
| asteriskcdrdb |
| test |
+--------------------+
4 rows in set (0.01 sec)
[root@localhost ~]# chown -R asterisk:asterisk /usr/lib/asterisk/modules/
[root@localhost ~]# chmod 755 /usr/lib/asterisk/modules/
[root@localhost ~]# asterisk -r
Asterisk 1.6.2.11, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.11 currently running on localhost (pid = 3088)
Verbosity is at least 3
localhost*CLI> module reload cdr_addon_mysql.so
No such module 'cdr_addon_mysql.so'
[root@localhost log]# yum provides mysqlclient
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
* addons: mirror.yandex.ru
* base: mirror.corbina.net
* extras: mirror.corbina.net
* rpmforge: ftp-stud.fht-esslingen.de
* updates: mirror.corbina.net
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/mysqlclient" and/or "*bin/mysqlclient" to get that behaviour
No Matches found