[Asterisk-Users] mysql problems

Conrad Wood asterisk-users at conradwood.net
Fri Feb 24 04:15:22 MST 2006


On Fri, 2006-02-24 at 09:44 +0800, Ronald Wiplinger wrote:
> My database machine is broken and I have to use another one.
> I made somewhere mistake(s) and get now in the debug file:
> 
> [Feb 24 09:05:24] DEBUG[32664]: MySQL RealTime: Query: SELECT * FROM 
> sip_buddies WHERE name = '886'
> [Feb 24 09:05:24] DEBUG[32664]: MySQL RealTime: Query Failed because: 
> Can't find file: './astconf/sip_buddies.frm' (errno: 13)

first of, errno 13 is 'permission denied', so I guess your mysql
database is running as a user who hasn't got permissions to the file.
--- which makes it a question for the mysql mailing list.
Anyways, on linux, you can use "ps axu" to find out as what user mysql
runs as. Then change permissions/ownership on the files to match.

Conrad




More information about the asterisk-users mailing list