AtoM 2.2 - Unable to open PDO connection

478 views
Skip to first unread message

Grupo CNPQ Docs Digitais

unread,
Jul 15, 2015, 7:01:50 PM7/15/15
to ica-ato...@googlegroups.com

   Hi all, 

   We have experimented the same error: "Unable to open PDO connection". 

   We have already deleted the file config.php at the atom folder, and tried again: 

The following errors must be resolved before you can continue the installation process:

  • Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)]

   We have too re-created the database, and an special care for password and not works. 

   Any idea?

[]s
ICA-AtoM UFSM Researchers
grupocnpqd...@gmail.com

Mike G

unread,
Jul 15, 2015, 7:34:10 PM7/15/15
to ica-ato...@googlegroups.com
Assuming your database name is 'atom', can you do this from the command line (on the same machine you installed AtoM on)?
mysql -h localhost -u root atom

If that still gives you an access denied error, you have a root password set and you'll need to find it out and use it during the AtoM install.

The only other thing I can think of: is your mysql server on the same server as your webserver and AtoM? If not, you'll have to change localhost to the IP address of your mysql server.

Hope this helps!
Reply all
Reply to author
Forward
0 new messages