Back to top

Autore Topic: Errore connessione DB in fase aggiornamento  (Letto 1180 volte)

Offline idnob

  • Nuovo arrivato
  • *
  • Post: 9
    • Mostra profilo
Errore connessione DB in fase aggiornamento
« il: 01 Feb 2012, 01:30:26 »
Ciao ragazzi , ho installato MAMP (mac apache mysql php) , e devo installare joomla su locale.
Al passo in cui devo inserire le credenziali per la connessione al DB mi da il segente errore:
Codice: [Seleziona]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB CHARACTER SET `utf8`' at line 29 SQL=CREATE TABLE `jos_banner` ( `bid` int(11) NOT NULL auto_increment, `cid` int(11) NOT NULL default '0', `type` varchar(30) NOT NULL default 'banner', `name` varchar(255) NOT NULL default '', `alias` varchar(255) NOT NULL default '', `imptotal` int(11) NOT NULL default '0', `impmade` int(11) NOT NULL default '0', `clicks` int(11) NOT NULL default '0', `imageurl` varchar(100) NOT NULL default '', `clickurl` varchar(200) NOT NULL default '', `date` datetime default NULL, `showBanner` tinyint(1) NOT NULL default '0', `checked_out` tinyint(1) NOT NULL default '0', `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `editor` varchar(50) default NULL, `custombannercode` text, `catid` INTEGER UNSIGNED NOT NULL DEFAULT 0, `description` TEXT NOT NULL DEFAULT '', `sticky` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0, `ordering` INTEGER NOT NULL DEFAULT 0, `publish_up` datetime NOT NULL default '0000-00-00 00:00:00', `publish_down` datetime NOT NULL default '0000-00-00 00:00:00', `tags` TEXT NOT NULL DEFAULT '', `params` TEXT NOT NULL DEFAULT '', PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`), INDEX `idx_banner_catid`(`catid`) ) TYPE=MyISAM CHARACTER SET `utf8`che problema c'è?
Ringrazio per le risposte. :)

Offline renzo973

  • Appassionato
  • ***
  • Post: 402
  • Sesso: Maschio
  • Cogito ergo sum !!!
    • Mostra profilo
Re:Errore connessione DB in fase aggiornamento
« Risposta #1 il: 01 Feb 2012, 07:54:44 »
quali credenziali inserisci? root / root, giusto? Aprendo la homepage di MAMP è tutto ok?
Dicono che dio ci ha fatti tutti uguali, ma poi, appena fuori dall'utero, ha iniziato coi favoritismi

Offline idnob

  • Nuovo arrivato
  • *
  • Post: 9
    • Mostra profilo
Re:Errore connessione DB in fase aggiornamento
« Risposta #2 il: 01 Feb 2012, 09:06:28 »
MAMP tutto ok (lo stesso mi succede se provo ad usare easyphp su windows) , come parametri metto:


host: localhost
utente: root
password: root


Ho provato anche a cambiare versione di php ma niente!

Offline idnob

  • Nuovo arrivato
  • *
  • Post: 9
    • Mostra profilo
Re:Errore connessione DB in fase aggiornamento
« Risposta #3 il: 01 Feb 2012, 09:11:33 »
ok ragazzi scusate , il problema era che usavo la versione 1.5 che ho trovato sul sito della mia università , adesso con la 2.5 tutto ok :)
grazie mille!

 



Web Design Bolzano Kreatif