Joomla.it Forum

Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => Installazione => : norton 18 Feb 2008, 23:41:04

: Errore MySql prima istallazione
: norton 18 Feb 2008, 23:41:04
Ciao a tutti,
ho istallato Joomla in locale sul pc, dopo aver istallato Apache, PHP, PHPmyAdmin, MySql.
Durante la configurazione di Joomla, mi da il seguente errore durante il caricamento del DB:

SQL=BLOB/TEXT column 'name' can't have a default value SQL=CREATE TABLE `jos_banner` (
  `bid` int(11) NOT NULL auto_increment,
  `cid` int(11) NOT NULL default '0',
  `type` varchar(90) NOT NULL default 'banner',
  `name` TEXT 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(150) 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:
- - - - - - - - - -
CREATE TABLE `jos_banner` (
  `bid` int(11) NOT NULL auto_increment,
  `cid` int(11) NOT NULL default '0',
  `type` varchar(90) NOT NULL default 'banner',
  `name` TEXT NOT NULL default '',
  `imptotal` int(11) NOT NULL default '0',
  `impmade` int(11) NOT NULL default '0',
..............
..............
..............
 e via dicendo...
Che fare?
Grazie
: Re: Errore MySql prima istallazione
: tecnicoleone79 19 Feb 2008, 01:38:39
QUESTO è VA BENE, PROVA SU XAAMP O EASYPHP PER IMPORTO DI TESTO.SQL Wink CIAO
: Re: Errore MySql prima istallazione
: norton 19 Feb 2008, 08:12:07
QUESTO è VA BENE, PROVA SU XAAMP O EASYPHP PER IMPORTO DI TESTO.SQL Wink CIAO

Non ho capito cosa vuoi dire.
 ???
: Re: Errore MySql prima istallazione
: fumocamel 19 Feb 2008, 10:17:05
prova a togliere di defalut

invece di
`name` TEXT NOT NULL default '',

prova

`name` TEXT NOT NULL,

e vedi cosa succede
: Re: Errore MySql prima istallazione
: norton 19 Feb 2008, 17:27:50
toglierlo da dove?
 ???
: Re: Errore MySql prima istallazione
: fumocamel 20 Feb 2008, 10:46:15
nel file di installazione del db mysql