Database connection issue with Prestashop

Miss_socrates Posted messages 925 Status Member -  
 miss -
Hello,

I am trying to install PrestaShop 1.6 locally with Xampp. In the installation wizard, I am stuck on system configuration. I entered the data: server: localhost - database name: prestashop - database username: root - no password table prefix: ps_

When I click on the button Test database connection I get the response: Unable to connect to the database server. Please check your login credentials (DbPDO)

In PhpMyAdmin, I simply created a database (without password or any other data). Apache and MySQL are both running.

Thank you for your help.

Configuration: Windows 7 / Firefox 34.0

1 answer

  1. Miss_socrates Posted messages 925 Status Member 109
     
    I managed to install PrestaShop, I think there was a password (in Privilege Management) but I no longer have access to PhpMyAdmin at all even though I only changed the password for my PrestaShop database and nothing else.
    -1
    1. miss
       
      Hello, I had the same issue as you. In the end, I found the solution on a forum explaining it in English.
      You just need to:
      server: 127.0.0.1 (instead of localhost)
      database name: prestashop (the name you created in the PhpMyadmin page (Mac) or another page for Windows)
      database username: root
      password: root
      table prefix: ps_
      I hope it works for you.
      -1