Joomla.it Forum

Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => Installazione => : stefanog83 02 Apr 2007, 16:08:59

: [SOLVED] could not connect to database server
: stefanog83 02 Apr 2007, 16:08:59
ciao a tutti.
ho creato grazie al vostro prezioso aiuto un sito con j! perfettamente funzionante in locale.
ho modificato il file configuration credo a dovere e sono andato per trasferirlo sul server per continuare li le modifiche più piccole, ma ho saputo che il mio provider non ha mysql e che lo installerà tra un paio di settimane.
di conseguenza ho provato a rimetterlo in locale ma ora mi rimane sempre il messaggio could not connect to database server e non riesco a muovermi da li.
avete qualche idea per aiutarmi.
non voglio rifarlo!!!!
: Re: could not connect to database server
: napo 02 Apr 2007, 16:12:08
Puoi solo controllare che tutti i parametri siano corretti.
E che MySQL sia avviato in locale.
: Re: could not connect to database server
: stefanog83 02 Apr 2007, 16:20:17
Mysql è avviato in locale.
Ma che paramentri devo ricontrollare?quelli di configuration.php?
solo li possono esserci errori?
dal momento che io ci ho sbattuto la testa per ore se non vi dispiace lo posto...
<?php
$mosConfig_MetaAuthor = '1';
$mosConfig_MetaDesc = 'descrizione';
$mosConfig_MetaKeys = 'descrizione';
$mosConfig_MetaTitle = '1';
$mosConfig_absolute_path = 'c:\programmi\xampp\htdocs\joomla';
$mosConfig_admin_expired = '1';
$mosConfig_allowUserRegistration = '0';
$mosConfig_back_button = '1';
$mosConfig_cachepath = 'c:\programmi\xampp\htdocs\joomla\cache';
$mosConfig_cachetime = '900';
$mosConfig_caching = '0';
$mosConfig_db = 'joomla';
$mosConfig_dbprefix = 'jos_';
$mosConfig_debug = '0';
$mosConfig_dirperms = '';
$mosConfig_editor = 'tinymce';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '0';
$mosConfig_error_message = 'Sito temporaneamente irraggiungibile.
 Notificare il problema ad un amministratore';
$mosConfig_error_reporting = '-1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_fromname = 'nome';
$mosConfig_frontend_login = '1';
$mosConfig_frontend_userparams = '1';
$mosConfig_gzip = '0';
$mosConfig_helpurl = 'http://help.joomla.org';
$mosConfig_hideAuthor = '1';
$mosConfig_hideCreateDate = '1';
$mosConfig_hideEmail = '0';
$mosConfig_hideModifyDate = '1';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hits = '1';
$mosConfig_host = 'localhost';
$mosConfig_icons = '1';
$mosConfig_item_navigation = '1';
$mosConfig_lang = 'italian';
$mosConfig_lifetime = '900';
$mosConfig_link_titles = '0';
$mosConfig_list_limit = '30';
$mosConfig_live_site = '';
$mosConfig_locale = 'it_IT';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = 'stefanog83@yahoo.it';
$mosConfig_multilingual_support = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_offline = '0';
$mosConfig_offline_message = 'Sito offline per manutenzione.
 Riprovare tra poco.';
$mosConfig_offset = '-2';
$mosConfig_offset_user = '0';
$mosConfig_pagetitles = '1';
$mosConfig_password = '';
$mosConfig_readmore = '1';
$mosConfig_secret = 'NoATOe98bEp868RA';
$mosConfig_sef = '0';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_session_life_admin = '900';
$mosConfig_session_type = '0';
$mosConfig_shownoauth = '0';
$mosConfig_sitename = 'nome sito';
$mosConfig_smtpauth = '0';
$mosConfig_smtphost = 'localhost';
$mosConfig_smtppass = '';
$mosConfig_smtpuser = '';
$mosConfig_uniquemail = '1';
$mosConfig_user = '';
$mosConfig_useractivation = '1';
$mosConfig_vote = '0';
setlocale (LC_TIME, $mosConfig_locale);
?>
: Re: could not connect to database server
: napo 02 Apr 2007, 16:38:10
I parametri di connessione a MySQL sono:
Verifica che siano tutti uguali alle impostazioni che hai in locale.
: Re: could not connect to database server
: stefanog83 02 Apr 2007, 17:02:15
Il problema l'ho risolto re-installando joomla in locale e sostituendo tutte le cartelle e mantenendo il file configuration dato dall'installazione.
dopodichè ho ricaricato il moi db da phpmyadmin e tutto è ripartito.
Ringrazio molto cmq  -napo- per il tempismo nelle risposte.
Alla prossima