Advertisement
Guest User

Untitled

a guest
Sep 15th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. mysqladmin -u root -p'oldpass' password 'roottest'
  2.  
  3. mysql -u root -p'roottest'
  4. mysql> use dbispconfig;
  5. mysql> database changed
  6. mysql> update sys_user set passwort = md5('admintest') WHERE username = 'admin';
  7. Query OK, 1 row affected (0.07 sec)
  8. Rows matched: 1 Changed: 1 Warnings: 0
  9.  
  10. vi /usr/local/ispconfig/server/lib/mysql_clientdb.conf
  11. <?php
  12. $clientdb_host = 'localhost';
  13. $clientdb_user = 'root';
  14. $clientdb_password = 'roottest';
  15. ?>
  16.  
  17. vi /usr/local/ispconfig/server/lib/config.inc.php
  18.  
  19. ...
  20. $conf['db_password'] = 'VERYLONGPASSWORDSTRING';
  21. ...
  22.  
  23. mysql -u root -p
  24. mysql> use mysql
  25. mysql> update User set Password = PASSWORD('VERYLONGPASSWORDSTRING') WHERE User = 'ispconfig';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement