Project

General

Profile

Mysql Problem in CentOS7

Added by gokhan celebi about 4 years ago

Hi, i tried to install goautodial on my VPS.

I followed this guide to install: https://goautodial.org/projects/goautodialce/wiki/Version_4_How_To_Install_Goautodial_From_Scratch_using_CentOS_7X

in install CPAN step, I got this error in "/var/spool/mail/root" file

failed to access denied for user 'asterisku'@'localhost' (using password: YES) as /usr/share/astguclient/AST_conf_update.pl ....

As you can see in image below I am getting this error in background. It does not stop me to continue installtion. But if i can't do this steps in right way. I can get some errors in the future.

Is there anyone that know reason of this error


Replies (5)

RE: Mysql Problem in CentOS7 - Added by ras el about 4 years ago

I had to edit asterisku users along with the other users and givem permission to login/select/update query etc manually with webmin..

Also Config.php was missing the kamailio db settings so i kept getting a "mysql host not set" everytime i tried to log in.

RE: Mysql Problem in CentOS7 - Added by Wittie Manansala about 4 years ago

Hi,

As posted here https://goautodial.org/projects/goautodialce/wiki/HOWTO_Update_latest_version_via_Github apply the following settings:

nano /var/www/html/php/Config.php
<?php
// database configuration
define('DB_USERNAME', 'goautodialu');
define('DB_PASSWORD', 'goautodialu1234');
define('DB_HOST', 'localhost');
define('DB_NAME', 'goautodial');
define('DB_PORT', '3306');
define('DB_NAME_ASTERISK', 'asterisk');
define('DB_USERNAME_KAMAILIO', 'kamailiou');
define('DB_PASSWORD_KAMAILIO', 'kamailiou1234');
define('DB_HOST_KAMAILIO', 'localhost');
define('DB_NAME_KAMAILIO', 'kamailio');
define('DB_PORT_KAMAILIO', '3306');

// other configuration parameters
define('CRM_ADMIN_EMAIL', 'admin@localhost.com');
?>

RE: Mysql Problem in CentOS7 - Added by Vericar De Espiritu Santo about 4 years ago

Wittie Manansala wrote:

Hi,

As posted here https://goautodial.org/projects/goautodialce/wiki/HOWTO_Update_latest_version_via_Github apply the following settings:

[...]

[...]

I solved this a few days ago. now i'm working on solve other errors... kamailio, ssl, webrtc...

    (1-5/5)
    Go to top