OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



A database error has occurred

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

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

A database error has occurred

Postby satoken » Wed Oct 05, 2005 8:58 pm

Dear Sir,

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.

Sato
satoken
 

A database error has occurred

Postby Erling.Berge@svt.ntnu.no » Wed Oct 05, 2005 10:55 pm

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).
Erling Berge
Erling.Berge@svt.ntnu.no
 

Postby asmecher » Thu Oct 06, 2005 9:37 am

Hello,

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.

Regards,
Alec Smecher
asmecher
 
Posts: 8452
Joined: Wed Aug 10, 2005 12:56 pm

A database error has occurred (Solved)

Postby satoken » Thu Oct 06, 2005 5:24 pm

Dear Sir,

The "database error has occurred" was solved.

Thank you so much
stk.
satoken
 


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 9 guests