[ixpmanager] install n00b
Barry O'Donovan
barry.odonovan at inex.ie
Fri Oct 18 10:26:15 IST 2013
On 18/10/13 10:15, Randy Bush wrote:
> but what i want to change is the user/password! :)
Right... options are:
a) copy and hack the fixtures.php file to add in another user;
b) if you've forgettong the username, use MySQL: "SELECT * FROM user;"
c) if you've forgotten the password, do a lost password / password reset
via the log in page;
d) if your email is ont working / you have a dummy email addresses, you
won't get the password reset token from (c) but, just after doing the
password reset, issue the MySQL command as follows to get it from the db
directly: "SELECT * FROM user_pref WHERE attribute =
'tokens.password_reset' ORDER BY ID DESC LIMIT 1;"
e) sledgehammer approach: reset the database:
cd /path/to/ixp-manager
./bin/doctrine2-cli.php orm:schema-tool:drop --force
./bin/doctrine2-cli.php orm:schema-tool:create
mysql -u username -ppassword [dbname] < tools/sql/views.sql
./bin/fixtures.php
- Barry
More information about the ixpmanager
mailing list