Problem with changing database password

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 2
Joined: Thu Jul 06, 2006 11:31 am

Problem with changing database password

Postby rmillstein » Thu Jul 06, 2006 11:36 am


I would like to change the password that I use to access my MySQL database. However, when I do that, OCS can no longer access the conference data that is already stored in the database. In fact, I can't even log in as an admin anymore if I change the database password. Is there a way to do this that I am not seeing? I am afraid to run install.php again, for fear that it might overwrite my data.

Thanks for any assistance.


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Thu Jul 06, 2006 1:38 pm

Hi RM,

The database settings are stored in include/; if you're unable to access the administration interface, you can change the password by editing this file. If you want to change the database password, you'll need to grant access in MySQL:

Code: Select all

GRANT ALL ON my_database.* TO my_database_user@localhost IDENTIFIED BY 'my_database_password';
Make sure the values in include/ match, and you should be ready to go.

Alec Smecher
Public Knowledge Project Team

Posts: 2
Joined: Thu Jul 06, 2006 11:31 am

Postby rmillstein » Thu Jul 06, 2006 2:18 pm

Thank you very much! This did the trick.

Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 4 guests