Hi, as i wrote i try to connect to an external DB.
I already fixed it, the problem were the user settings at the database table ----- Original Message ----- From: "Dovid B" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]> Sent: Monday, July 23, 2007 12:30 PM Subject: Re: [asterisk-users] ODBC Connection failed > are you trying to connect to localhost ? try 127.0.0.1 as well as the > machines IP and or host name. > > ----- Original Message ----- > From: "NicklasZ" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Monday, July 23, 2007 11:40 AM > Subject: [asterisk-users] ODBC Connection failed > > >> Hi, >> >> im trying to get an odbc connection to work. Its no problem if asterisk >> an >> mysl running on one machine. When i try to set up an external DB it won't >> connect. External connections to the db are possible (bind-address = >> 0.0.0.0 and the user asterisk is allowed to connect from each ip). The >> password in the config is the right one i already double checked it. >> >> Jul 23 12:31:54 WARNING[10380]: res_odbc.c:559 odbc_obj_connect: >> res_odbc: >> Error SQLConnect=-1 >> errno=1044 >> [unixODBC][MySQL][ODBC 3.51 Driver]Access denied for u ser 'asterisk'@'%' >> to database 'asterisk' >> >> >> Any suggestions? >> >> Thanks >> >> >> _______________________________________________ >> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
