the sql scripts that update vicidial's database can be copied to the other server OR you can access the other server and update the db remotely via command line:
from the Vicidial server (not the db server):
- Code: Select all
mysql asterisk -h 192.168.1.1 -u root -p < UPGRADExxxx.sql
asterisk = replace this with the name of your vicidial database (usually asterisk, of course)
192.168.1.1 = replace this with the IP of the database server
UPGRADExxxx.sql = replace this with the filename of the upgrade file you want to execute against the database.
You will be asked for the root mysql password after you hit enter. If root is not authorized to execute from another machine, you may need to copy the sql files to the db server (or allow root to execute from the server you are on).
Remember to follow instructions from the UPGRADE document in your downloaded code. This post is merely to help you execute the sql command remotely. The actual upgrade instructions must be followed to determine which sql files those are.