GoAutoDial's mysql

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

GoAutoDial's mysql

Postby viciflash » Mon Mar 28, 2011 8:31 am

im trying to connect to GoAuto's mysql from another server but im getting this error

Code: Select all
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.x.x' (113)


locally, i am able to do so. my firewall is already disabled and has my.cnf setting

Code: Select all
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
skip-name-resolve
skip-host-cache
max_connections=200

[mysql.server]
user=mysql
basedir=/var/lib

bind-address=192.168.x.x
port=3306

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


help. thanks.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Mon Mar 28, 2011 7:16 pm

did you restart mysql after making these changes? (perhaps even a full reboot, to be sure)

does the user attempting to log on have permission to log on FROM THAT LOCATION (FROM % or FROM the ip address of the other server)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Tue Mar 29, 2011 3:48 am

i can easily connect to mysql if within the server.

i already performed mysqld restart, and reboot completely.

i also check other websites concerning this error but seems to be dead end.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Tue Mar 29, 2011 11:47 am

williamconley wrote:does the user attempting to log on have permission to log on FROM THAT LOCATION (FROM % or FROM the ip address of the other server)
use iftop to verify that there is data being exchanged between the two servers and use mysql logs to find out if the request was received ...
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Tue Mar 29, 2011 8:16 pm

i'll check it again tonight. thanks for add'l info.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby viciflash » Mon Jun 06, 2011 9:46 am

i tried again tinkering with goAuto's mysql. i still can't access it outside ip. the only way i can access it is via phpmyadmin
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby gardo » Mon Jun 06, 2011 3:21 pm

What user are you trying to connect to the database?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby viciflash » Mon Jun 06, 2011 6:02 pm

i created another user called r00t

| % | r00t | 39aa9eb5065367ed |
| localhost | r00t | 39aa9eb5065367ed |
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Thu Jun 09, 2011 12:20 pm

standard mysql question. use the mysql site for help, but you basically need to grant permission for that user to log in from % (any) or the specific ip from which you are attempting access, and be sure your mysql is configured for external access in my.cnf and be sure the port is open through your firewall.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 26 guests