Where should I leave?
Try this link, it is accessible through a link in the Wiki http://josephades1.googlepages.com/gen_securetb
I am following this link http://josephades1.googlepages.com/gen_securetb change mysql pass as written but I can not find the file and the "dbpass" line in / etc / asterisk / res_mysql.conf and if I try to enter into setting pbx I wrote FATAL ERROR
DB Error: connect failed HELP HELP Please :|
The above link wasn't working for me with a clean install of 2.6.1, however, after speaking with Kerry G, I have the solution:
asteriskuser mysql password:
(from the Linux CLI):
mysql -u root -p
(enter mysql root password, default is passw0rd (with a zero))
mysql> use mysql;
mysql> update user set password=PASSWORD("new_pass_here") where User='asteriskuser';
mysql> flush privileges;
mysql> quit
Now change to the new password in these files:
/etc/amportal.conf (AMPDBPASS towards the bottom of the file)
/etc/asterisk/cdr_mysql.conf (password field)
Once done, run these commands from the Linux CLI:
service mysqld restart
amportal restart
That should do it. To change the mysql root password, the old way still seemed to work.
mysqladmin -u root -p password new_pass_here
(prompted for old mysql root password - default is 'passw0rd' - no quotes, with a zero)
Now change the password in this file:
/etc/asterisk/cbmysql.conf (password field)
Thanks Kerry for the info!




Member Since:
2008-08-02