Changed admin level 1 per manual and can't login now

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Changed admin level 1 per manual and can't login now

Postby torontob » Wed Mar 18, 2009 12:51 pm

Hello,

I changed the admin account Level to 1 and now I can't login. Seems like a bad password maybe?! I haven't changed the default password. How can I change back to original state? Please be detailed as I am new to Linux and MySql, etc...

Thanks
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm

Postby mflorell » Wed Mar 18, 2009 1:34 pm

Can you point me to where specifically it says in the manual to change the user level to 1?

To fix this you have to go into the database directly and change the user_level in the vicidial_users table to 9.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Thu Mar 19, 2009 1:58 pm

mysql -p (-p may be optional depending on your install)
use asterisk;
select user_id, user, pass, full_name, user_level from vicidial_users;

find your entry

update vicidial_users set user_level=9 where user_id=XXX

XXX = your userid
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!)

Postby torontob » Thu Mar 19, 2009 10:33 pm

Thanks for the details williamconley. This is exactly what I needed. However, I have already re-install ViciDialNow. Thanks to the quick breeze install. I will be able to use your details in future. I have another question regarding this. I remember that I have once used this simple nice GUI program which used to connect to MySql from MS Windows and would populate all tables for ease of access. Do you know of any program(s) like that which runs on MS platforms?

Thanks,
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm

Postby okli » Fri Mar 20, 2009 7:43 am

I use HeidiSQL, simple and intuitive to work with:

http://www.heidisql.com/

That's actually the old MySQL GUI, which due to some licensing issues with MySQL had to change the name.

There is also a package from Sun/MySQL which I have never tried:
http://dev.mysql.com/downloads/gui-tools/
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby ykhan » Fri Mar 20, 2009 8:14 am

Probably one of the best tools for this out there is phpmyadmin.
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby torontob » Fri Mar 20, 2009 9:08 am

Thatnks for the input guys. Is phpmyadmin installed on ViciDialNow by default? If "Not", is there an automated install script for it?

Thanks
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm

Postby williamconley » Fri Mar 20, 2009 10:01 am

Everyone I know uses phpMyAdmin. I prefer Webmin. But I'm odd. I use Gentoo, and both can be automatically installed through emerge.
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!)

Postby torontob » Fri Mar 20, 2009 5:46 pm

Hidisql seems to be neat. Before I get phpmyadmin installed I think I can use this. What are the credentials to connect to MySql via Hidisql? Does it use the default port? Do I have to open access to be able to get it MySql from outside? What is the username? What is the password? What tables are used by ViciDial?

Thanks
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm

Postby okli » Sat Mar 21, 2009 7:24 pm

I usually create ssh tunnel with Putty and login to localhost/cron/cronpassword (default is 1234 as far as I remember).
http://realprogrammers.com/how_to/set_u ... putty.html
http://www.google.com/search?hl=en&num= ... bg|lang_en


If you are in a local network you may want to connect directly to the MySQL server using serverIP/cron/cronpassword.
Does it use the default port?
Well, you give HeidiSQL whatever you configured MySQL with. If it listens to port 3306 as the default is, then you give 3306 to HeidiSQL.

What tables are used by ViciDial?
Database is called asterisk. Tables you will see and start understanding which is what, there are number of them and names are quite self-explaining the purpose.
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby torontob » Sat Mar 21, 2009 10:22 pm

Thanks for all the good input specially on the SSH tunned as I have always been interested to get it working and never got a chance to read on it.

Following is what I get when I try root username, cron username, port 22, and default mySql port:

Can't connect to server.
elastrix googlepages com/sqlError.jpg

This is a straight up VicidialNow server install and I have not tampered with any of the config files or changed any firewall settings. I am on the same subnet and same network but yet can't connect to pull up the Asterisk database.

Thanks
torontob
 
Posts: 17
Joined: Tue Mar 17, 2009 4:01 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 89 guests