[asterisk-users] Ubuntu as remote MySQL server

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon May 26 01:13:07 CDT 2008


On Monday 26 May 2008 00:46:16 Ronald Wiplinger wrote:
> Tilghman Lesher wrote:
>
> I added the Grant statement
>
> GRANT select,insert,update ON asterisk.* to astuser at 192.168.1.20 IDENTIFIED
> BY 'somepassword';
>
>
> reloaded the privileges, and still get the same problem:
> [May 26 13:40:48] ERROR[3109]: res_config_mysql.c:651 mysql_reconnect:
> MySQL RealTime: Failed to connect database server astconf on
> 192.168.250.254 (err 2003). Check debug for more info.
>
>
> # mysql -uastuser -h192.168.250.20 -p
> Enter password:
> ERROR 1045: Access denied for user: 'astuser at vpbx.elmit.com' (Using
> password: YES)

Okay, you're failing to connect to 192.168.250.254 in the Asterisk config, yet
you're connecting to 192.168.250.20 in the test.  So check your IP addresses
carefully, to ensure that you're trying to connect to the correct server.

-- 
Tilghman



More information about the asterisk-users mailing list