Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher
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.
When istalling OJS, I got the message:
A database error has occurred: Access denied for user: 'root@localhost' (Using password: NO)
Any comment would be very appreciated.
I had the same problem. I found that in installing ojs if I assigned any
other parameter than localhost for host, the ojs installer created an
error message saying that it was impossible to connect to the database (MySQL).
Please verify that your OJS database has been granted the appropriate permissions. For example:
- Code: Select all
CREATE DATABASE myojs2database;
GRANT ALL ON myojs2database TO myusername@myhostname IDENTIFIED BY 'mypassword';
Ensure that the hostname matches the login information given to the OJS installer.
Note that it's generally not a good policy to use root as your database user.
- Posts: 10015
- Joined: Wed Aug 10, 2005 12:56 pm
The "database error has occurred" was solved.
Thank you so much
Return to OJS Technical Support
Who is online
Users browsing this forum: No registered users and 2 guests