This error has already been faced by a lot of people, but I could not find an answer in my case. My wordpress website works perfectly in local
What I have done:
- Upload with filezila
- Create a sql database in OVH -Import all the SQL tables from local to the website with phpmyadmin
- Modify the wp-config.php file and also the wp-config-sample.php writting my informations.
Thanks for your help !!
wp-config.php
and enter the DB credentials in the installation wizard to see if it will connect? Don't finish installation, just check DB connection.