<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried to install opensips control panel today,
but I have some problems with sql scripts</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) installation instruction states that
:</FONT></DIV>
<DIV> install opensips_cdrs_1_2.sql a mysql stored procedure that
generates cdrs from the acc
table<BR> mysql -Dopensips -p <
opensips_cdrs_1_4.sql</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but <FONT face="Times New Roman" size=3>script file
opensips_cdrs_1_4.sql is not exists, I found only
openser_cdrs_1_2.sql</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3><FONT
face=Arial size=2></FONT><BR></FONT></FONT>:/usr/src/opensips-cp# find . -name
"*sql"<BR>./web/tools/cdrviewer/openser_cdrs_1_2.sql<BR>./web/tools/cdrviewer/cdrs.sql<BR>./web/tools/siptrace/template/prepaid.sql<BR>./web/tools/smonitor/monitoring_stats.sql<BR>./web/tools/smonitor/tables.sql<BR>./web/tools/smonitor/monitored_stats.sql<BR>./web/tools/drouting/drouting.sql<BR><BR>openser_cdrs_1_2.sql
file is also not correct, After I have changed the sql file accordingly I run
the comman again.</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>/usr/src/opensips-cp# mysql -Dopensips -p <
./web/tools/cdrviewer/openser_cdrs_1_2.sql<BR>Enter password:<BR>ERROR 1064
(42000) at line 2: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'PROCEDURE IF EXISTS openser_cdrs_1_2' at line 1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I deleted the line 'PROCEDURE IF EXISTS
openser_cdrs_1_2' and tried again ......</DIV></FONT>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>/usr/src/opensips-cp# mysql -Dopensips -p <
./web/tools/cdrviewer/openser_cdrs_1_2.sql<BR>Enter password:<BR>ERROR 1064
(42000) at line 3: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'PROCEDURE openser_cdrs_1_2()<BR>BEGIN<BR> DECLARE done INT DEFAULT
0;<BR> DECLARE bye_r' at line 1<BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>my mysql version:</FONT></DIV>
<DIV>:/usr/src/opensips-cp# mysql -V<BR>mysql Ver 14.7 Distrib 4.1.11, for
unknown-linux-gnu (sparc)<BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>any idea ??</FONT></DIV></BODY></HTML>