Jump to content

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied


Recommended Posts

Hello Guys,

I try to move my prestashop website from my localhost to a web server on the internet, exactly on Azure.

I moved the file of my site to the folder htdocs, after deleting its content.

I created the database and import the dump already created.

But I have a the issue to connect showing me an error about connecting to the database.

I already modify my parameters file, but didn't work.

 

<?php return array (
'parameters' =>
array (
'database_host' => 'localhost',
'database_port' => '',
'database_name' => 'prestashop',
'database_user' => 'root',
'database_password' => '********',
'database_prefix' => 'ps_',
'database_engine' => 'InnoDB',
'mailer_transport' => 'smtp',
'mailer_host' => 'localhost',
'mailer_user' => NULL,
'mailer_password' => NULL,
'secret' => 'th2PTccJOWWCLfopxpkJcfbZ8Ni1pqOaEUX2oBWdWNGX0FG1UY7R58xO',
'ps_caching' => 'CacheMemcache',
'ps_cache_enable' => false,
'ps_creation_date' => '2018-04-30',
'locale' => 'fr-FR',
'cookie_key' => '64AqDR7S3nwOgK1766VAW42OZWsfynszzGRgWZYRX8OR4Jk2isyjstuw',
'cookie_iv' => 'bsBtyCWe',
'new_cookie_key' => 'def0000031910d3ec9de884b6051205adee3727407bc83ac6485a30fb0755c601d2b4cb3458573a0551d24d8bf7e2ead90d6f646afec0b4d1e9625cad426e6993616d83b',
),
);
 

 

Can you please help me .

Thank you in advance.

 

 

 

 

 

 

Error1.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...