<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Comic Sans MS";
        color:green;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'>Hi everyone, I
am try to install a CDR using MySQL but I receive the follow message:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'>[app_db.so]
=> (Database access functions for Asterisk extension logic)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> == Registered
application 'DBget'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> == Registered
application 'DBput'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> == Registered
application 'DBdel'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> == Registered
application 'DBdeltree'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> [cdr_addon_mysql.so]
=> (MySQL CDR Backend)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> == Parsing
'/etc/asterisk/cdr_mysql.conf': Found<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'>Nov 12 13:13:41
WARNING[2438]: cdr_addon_mysql.c:330 my_load_module: MySQL database sock file
not specified. Using default<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'>Nov 12 13:13:41
ERROR[2438]: cdr_addon_mysql.c:378 my_load_module: Failed to connect to mysql
database asteriskcdrdb on localhost. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'>I am using a
SuSE 8.0 (kernel 2.4.19), * 1.0.2 (Asterisk CVS-HEAD-11/07/04-23:06:58) and MySQL
4.1.7-standard.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'>Here are the
configuration file<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face=Wingdings><span
style='font-size:8.0pt;font-family:Wingdings;color:green'>č</span></font><font
size=1 color=green face="Comic Sans MS"><span style='font-size:8.0pt;
font-family:"Comic Sans MS";color:green'> Cdr_mysql.conf<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'>[global]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> hostname=localhost<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> dbname=asteriskcdrdb<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> password=test<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=green face="Comic Sans MS"><span
style='font-size:8.0pt;font-family:"Comic Sans MS";color:green'> user=asteriskuser<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'>Thanks<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:11.0pt;font-family:"Comic Sans MS";color:green'>Geraldo<o:p></o:p></span></font></p>
</div>
</body>
</html>