Bonjour,
Impossible de mettre mon site en ligne. Message:Database connection error (2): Could not connect
J'ai exporté la BDD locale pour l'importer sur OVH par PHP Myadmin mais cela ne fonctionne pas.
Je lis de tout sur le net concernant la cause du problème: serveur mutualisé saturé, ou problème technique
Je pense que le souci vient de mon fichier config car le host est toujours "localhost", mais je ne sais exactement quelle adresse mettre:
www.monsite.com
?
monsite.com?
autre?
Je mets la copie de mon fichier config.
<?php
class JConfig {
public $offline = '0';
public $offline_message = 'Ce site est en maintenance.<br /> Merci de revenir ultérieurement.';
public $display_offline_message = '1';
public $offline_image = '';
public $sitename = 'monsite.com';
public $editor = 'tinymce';
public $captcha = 'recaptcha';
public $list_limit = '20';
public $access = '1';
public $debug = '0';
public $debug_lang = '0';
public $dbtype = 'mysqli';
public $host = 'localhost';
public $user = 'root';
public $password = '';
public $db = 'joomla';
public $dbprefix = 'fxm83_';
public $live_site = '';
public $secret = 'FHn6Vet53bhjc15z';
public $gzip = '0';
public $error_reporting = 'default';
public $helpurl = '
help.joomla.org/proxy/index.php?option=c...ajor}{minor}:{keyref
}';
public $ftp_host = '127.0.0.1';
public $ftp_port = '21';
public $ftp_user = '';
public $ftp_pass = '';
public $ftp_root = '';
public $ftp_enable = '1';
public $offset = 'UTC';
public $mailer = 'mail';
public $mailfrom = '
';
public $fromname = 'monsite.com';
public $sendmail = '/usr/sbin/sendmail';
public $smtpauth = '0';
public $smtpuser = '';
public $smtppass = '';
public $smtphost = 'localhost';
public $smtpsecure = 'none';
public $smtpport = '25';
public $caching = '0';
public $cache_handler = 'file';
public $cachetime = '15';
public $MetaDesc = 'blablabla';
public $MetaTitle = '1';
public $MetaAuthor = '1';
public $MetaVersion = '0';
public $robots = '';
public $sef = '0';
public $sef_rewrite = '0';
public $sef_suffix = '0';
public $unicodeslugs = '0';
public $feed_limit = '10';
public $log_path = 'C:\\wamp\\www\\jommla/logs';
public $tmp_path = 'C:\\wamp\\www\\jommla/tmp';
public $lifetime = '60';
public $session_handler = 'database';
public $MetaRights = '';
public $sitename_pagetitles = '1';
public $force_ssl = '0';
public $feed_email = 'site';
public $cookie_domain = '';
public $cookie_path = '';
}
Merci d'avance