Hello All,
I had lost my vtiger username password, so i was try to reset admin
password with below mentioned command but given some error ,
Command :
update vtiger_users set user_hash=.21232f297a57a5a743894a0e4a801fc3.,
user_password=.adpexzg3FUZAk.,confirm_password=.adoY/
6Mlw8kqg.,crypt_type=. where user_name=.admin.;
Error :
ERROR 1064 (42000): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'f297a57a5a743894a0e4a801fc3.,
user_password=.adpexzg3FUZAk.,confirm_password=.ad' at line 1
> mysql -u user -ppass
mysql> use vtiger;
mysql> update vtiger_users set user_hash=’21232f297a57a5a743894a0e4a801fc3′, user_password=’adpexzg3FUZAk’,confirm_password=’adoY/6Mlw8kqg’,crypt_type=” where user_name=’admin’;
This will reset the ‘admin’ username to password ‘admin’ using vtiger 5.0.4.
I hope this will works for you..!
How to reset admin password of vtiger .......?
Regards,
Mehul Patel
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
I had already use this command & face same error,,
ERROR 1064 (42000): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'f297a57a5a743894a0e4a801fc3.,
user_password=.adpexzg3FUZAk.,confirm_password=.ad' at line 1
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
Dear Mehul,On Mon, Jun 21, 2010 at 5:01 PM, Mehul Patel <mehu...@gmail.com> wrote:
Hello All,
I had lost my vtiger username password, so i was try to reset admin
password with below mentioned command but given some error ,
Command :
update vtiger_users set user_hash=.21232f297a57a5a743894a0e4a801fc3.,
user_password=.adpexzg3FUZAk.,confirm_password=.adoY/
6Mlw8kqg.,crypt_type=. where user_name=.admin.;
Error :
ERROR 1064 (42000): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'f297a57a5a743894a0e4a801fc3.,
user_password=.adpexzg3FUZAk.,confirm_password=.ad' at line 1Are you using which version of vtiger? Try this one> mysql -u user -ppass
mysql> use vtiger;
mysql> update vtiger_users set user_hash=’21232f297a57a5a743894a0e4a801fc3′, user_password=’adpexzg3FUZAk’,confirm_password=’adoY/6Mlw8kqg’,crypt_type=” where user_name=’admin’;
This will reset the ‘admin’ username to password ‘admin’ using vtiger 5.0.4.
I hope this will works for you..!
How to reset admin password of vtiger .......?
Regards,
Mehul Patel
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
--
Kind regards,
Dhaval Soni
Red Hat Certified Architect
ID: 804 007 900 325 939
M: +91-9662029620
Dear Dhaval,
pls find below error,
mysql> update vtiger_users set user_password='adpexzg3FUZAk' where
user_name='admin' ;
Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Changed: 1 Warnings: 0
mysql> vtiger_users set crypt_type='' where user_name='admin' ;
ERROR 1064 (42000): You have an error in your SQL syntax; check thesyntax to use near 'vtiger_users set crypt_type='' where
manual that corresponds to your MySQL server version for the right
user_name='admin'' at line 1
Assumption: You have access to the vtiger database. 1. Login to the mysql database. 2. Using the following commands on mysql command line :-
For versions < 5.0.4 :
For versions 5.0.4 or later:
This will reset the password to 'admin'. Note: Replace 'admin' with whichever user_name you want to reset the password for. |
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG