<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>I also added the following<br><br>## database super user<br>DBROOTUSER="root"<br><br><br><br><hr id="stopSpelling">From: alex_rsm@hotmail.com<br>To: miconda@gmail.com<br>Date: Thu, 7 May 2009 13:14:00 -0400<br>CC: users@lists.kamailio.org<br>Subject: Re: [Kamailio-Users] creating openser db on an external mysql server<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


DBHOST is already set to the external server ip.<br><br>DBHOST=&lt;external_mysql_server_ip&gt;<br><br>The openser db is created but with no table. Here is the error I am getting:<br><br><br>MySQL password for root: <br>INFO: test server charset<br>INFO: creating database openser ...<br>ERROR 1044 (42000) at line 2: Access denied for user 'root'@'%' to database 'openser'<br>ERROR: Creating core database and grant privileges failed!<br><br>user "root" on all hosts ("%") is manually added.<br><br><br><br><br>&gt; Date: Thu, 7 May 2009 17:56:54 +0200<br>&gt; From: miconda@gmail.com<br>&gt; To: alex_rsm@hotmail.com<br>&gt; CC: users@lists.kamailio.org<br>&gt; Subject: Re: [Kamailio-Users] creating openser db on an external mysql server<br>&gt; <br>&gt; there is also the variant of setting DBHOST env variable.<br>&gt; <br>&gt; Cheers,<br>&gt; Daniel<br>&gt; <br>&gt; On 05/07/2009 05:24 PM, Ovidiu Sas wrote:<br>&gt; &gt; Define the correct settings in kamctlrc.<br>&gt; &gt;<br>&gt; &gt; Regards,<br>&gt; &gt; Ovidiu Sas<br>&gt; &gt;<br>&gt; &gt; On Thu, May 7, 2009 at 11:19 AM, Alex R.S.M &lt;alex_rsm@hotmail.com&gt; wrote:<br>&gt; &gt;   <br>&gt; &gt;&gt; Hi,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Creating openser database on the localhost works fine using "kamdbctl<br>&gt; &gt;&gt; create".<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; However, I need to create openser database on an external mysql server. I<br>&gt; &gt;&gt; tried the following command but it's not working:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; kamdbctl create openser@&lt;external_mysql_server_ip&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; What's the correct command?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thanks,<br>&gt; &gt;&gt; A R<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ________________________________<br>&gt; &gt;&gt; Windows Live™: Keep your life in sync. Check it out.<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Kamailio (OpenSER) - Users mailing list<br>&gt; &gt;&gt; Users@lists.kamailio.org<br>&gt; &gt;&gt; http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>&gt; &gt;&gt; http://lists.openser-project.org/cgi-bin/mailman/listinfo/users<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;     <br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Kamailio (OpenSER) - Users mailing list<br>&gt; &gt; Users@lists.kamailio.org<br>&gt; &gt; http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>&gt; &gt; http://lists.openser-project.org/cgi-bin/mailman/listinfo/users<br>&gt; &gt;<br>&gt; &gt;   <br>&gt; <br>&gt; -- <br>&gt; Daniel-Constantin Mierla<br>&gt; http://www.asipto.com/<br>&gt; <br><br><hr>Hotmail® has a new way to see what's up with your friends. <a href="http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009">Check it out.</a><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009' target='_new'>Check it out.</a></body>
</html>