Jump to content
Will_presta

Database error/ erreur

Recommended Posts

Posted (edited)

Bonjour, je viens de récupérer la gestion d'une site sous Prestashop 1.6.

J'ai transféré la base de données depuis un autre hébergeur sur OVH. 

Lorsque je suis allé dans le fichier settings.inc.php j'ai eu la surprise de trouver :

define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', 'ozyu_cdessous');

Comment un site peut il être ne ligne et la base de donnée se connecter à localhost ? Si je fais une modification dans DB_server, le site plante. Si je remplace localhost par l'adresse de la base de donnée, le site marche.

Si je remplace enfin localhost vers l'adresse de ma nouvelle base, j'ai une erreur.

Avez-vous déja eu ce problème ? 

Merci

----

Hello , I have to mange a website witch is using Prestashop 1.6.

I made a tansfer of the database to OVH server.

When I look into settings.inc.php to change my parameters I found :

define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', 'ozyu_cdessous');

How is it possible that a website is runnong right now with a localhost adresse for database ? If I change localhost, the website doesn't work anymore. If I try to set my OVH parameters, it doesn't work also...

Did you ever have this problem ? 

Thanks

Edited by Will_presta (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More