Yeah, it's in there. I'm really puzzled. This should be the easy part. ;)<div><br></div><div>Any other ideas?</div><div><br><div><br><br><div class="gmail_quote">On Tue, Jun 30, 2009 at 10:25 AM, Uwe Kastens <span dir="ltr"><<a href="mailto:kiste@kiste.org">kiste@kiste.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
looks good for me. Did you reload mysql after grant or flush priv?<br>
<br>
Should be, otherwise you wont be able to connect via mysql client.<br>
<br>
Your /etc/hosts have the entry for localhost?<br>
<br>
BR<br>
<br>
Uwe<br>
<br>
Brett Nemeroff schrieb:<br>
<div class="im">> yeah, I tried localhost, 127.0.0.1, and the actual ip (I usually use<br>
> localhost)<br>
><br>
> here's my connect string:<br>
> modparam("auth_db", "db_url",<br>
> "mysql://opensips:23u83fwhwkgh@localhost/opensips")<br>
><br>
> Here's the mysql grant:<br>
> GRANT ALL ON opensips.* TO 'opensips'@'localhost' IDENTIFIED BY<br>
> '23u83fwhwkgh';<br>
><br>
> On Tue, Jun 30, 2009 at 9:56 AM, Uwe Kastens <<a href="mailto:kiste@kiste.org">kiste@kiste.org</a><br>
</div><div class="im">> <mailto:<a href="mailto:kiste@kiste.org">kiste@kiste.org</a>>> wrote:<br>
><br>
> Brett,<br>
><br>
> Could you post your URL from your config please?<br>
><br>
> 127.0.0.1 is not the same as localhost!<br>
> BR<br>
><br>
> Uwe<br>
><br>
> > Hey all,<br>
> > sorry for such a noob question here, but I just can't figure out what<br>
> > I'm doing wrong.. I'm getting the error:<br>
> > Jun 30 15:36:33 nguenj297 /usr/local/sbin/opensips[10159]:<br>
> > ERROR:db_mysql:db_mysql_new_connection: driver error(1045): Access<br>
> > denied for user 'opensips'@'localhost' (using password: YES)<br>
> ><br>
> > So of course, I checked the usernames and passwords.. I tried<br>
> logging in<br>
> > manually with:<br>
> > mysql -u opensips -h localhost -p opensips<br>
> > (with the same password of course)<br>
> ><br>
> > And it works fine.. so I'm not sure where the hangup is.. Where<br>
> should I<br>
> > debug this?<br>
> ><br>
> > Thanks,<br>
> > Brett<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
</div>> > <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div class="im">> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
> --<br>
><br>
> kiste lat: 54.322684, lon: 10.13586<br>
><br>
><br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5"><br>
kiste lat: 54.322684, lon: 10.13586<br>
</div></div></blockquote></div><br></div></div>