Rest Mysql Var Script

All installation and configuration problems and questions

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

Rest Mysql Var Script

Postby sohaib » Sat May 19, 2012 4:19 am

Hi there,

My name is Sohaib I would like to know what does AST_restet_mysql_vars.pl do?

I have set it on crontab and when this scripts runs it shows some query running on mtop but as i m not so good in mysql so i dont get clue what actually it does?

Please let me know if anyone knows.

Thanks in advance.

Regards,

Sohaib Khan
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm

Re: Rest Mysql Var Script

Postby williamconley » Sat May 19, 2012 9:32 am

Code: Select all
nano /usr/share/astguiclient/AST_reset_mysql_vars.pl

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600
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!)

Re: Rest Mysql Var Script

Postby sohaib » Sun May 20, 2012 11:16 am

hi,

My bad... please accept my apology...

Actually i opened the file but as i mentioned in my last post i am not good in Mysql so i don't understand sql thing written in that script.


VERSION: 2.2.1-237
BUILD: 100510-2015
ASterisk 1.4.4.2
Quadcore Gx360
sohaib
 
Posts: 57
Joined: Wed Feb 23, 2011 3:59 pm

Re: Rest Mysql Var Script

Postby williamconley » Sun May 20, 2012 9:10 pm

If you are not good at mysql, why are you discussing the technical details of what a mysql script does?

It's like saying "I'm not any good at mechanics, but how do you rebuild an engine, step by step?"

Without an idea of what you want to do, the only answer I can give is already given. If you were to give some glimpse into what you require this information for or what you are trying to accomplish ... that would make it possible to give a more "on point" answer.

If you are "just curious", read the script line by line and you will see what it does. If you have a question about a line ... ask!
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 Support

Who is online

Users browsing this forum: No registered users and 152 guests