OK: So you do not know what method was used to build the server. Did you have someone else build the server or sell you one?
As a rule, when you run the admin update server ip script, it is expected to automatically acquire database credentials from /etc/astguiclient.conf
Please check inside this file for your DB credentials and see if something is "wrong". You should be able to log in to the MySQL server using the credentials in that file:
- Code: Select all
mysql asterisk -u {USER} -p{PASS}
mysql = name of database program we are starting
asterisk = name of database in which we ordinarily keep our data (that can be changed, but honestly I've only seen it named something other than asterisk once in six years)
-u = a switch meaning "the next item is my user name"
{USER} = example: cron (without the { } curly brackets, of course)
-p = a switch meaning "the next items is my password"
{PASS} = example: 1234 (also without the { } curly brackets, but also NO SPACE between the "-p" and the "1234"!!
final example:
- Code: Select all
mysql asterisk -u cron -p1234
In many cases, by the way, cron and 1234 should be the entries. If your astguiclient.conf files has other values ... consider trying cron and 1234 for user and pass to see if that fixes a few things.
Next: If you did not build this system, is it possible you have (in some unknown fashion) annoyed the IT person who built it, causing him/her to lock you out?
If so, you may want to build a new server (start with the .iso and instructions at Vicibox.com ... it is MUCH easier than it used to be, thanks to Kumba's hard work, it can actually be installed by almost anyone!)