OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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 http://forum.pkp.sfu.ca

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.

Problem with changing database password

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

Hi,

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.

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

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

Hi RM,

The database settings are stored in include/db.inc.php; 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/db.inc.php match, and you should be ready to go.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

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

Thank you very much! This did the trick.
rmillstein
 
Posts: 2
Joined: Thu Jul 06, 2006 11:31 am


Return to OCS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests