ciao a tutti!
stavo cercando di creare in locale due siti web (uno utilizzando joomla 1.5 uno con joomla 2.5) utilizzando xampp.. ho dovuto formattare il pc e ho savato l'intera cartella di xampp in cui c'erano i due siti ed entrambi i databe attraverso l'inconcina di xampp "MySql - Admin"esporta database ecc ..adesso a pc riformattato, pulito e veloce mi trovo nel panico..
ho provato a installare xampp, importare la cartella "htdocs" su cui erano i due siti e sempre attraverso il MySqul - Admin di xampp ho importato i due database e mi da errore scritto in rosso in entrambi:
aiutooooooooo
tra l'altro se guardo a sinistra i due database risultano già importati correttamente. però se apro il sito in localhost con
http://localhost/nomedelmiosito mi dà errore[size=78%] [/size]
Database Error: Unable to connect to the database:Could not connect to MySQL[/size]
Errorequery SQL:-- -- Database: `database` -- -- -------------------------------------------------------- -- -- Struttura della tabella `jos_banner` -- CREATE TABLE IF NOT EXISTS `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` int(10) unsigned NOT NULL DEFAULT '0', `description` text NOT NULL, `sticky` tinyint(1) unsigned NOT NULL [...]Messaggio di MySQL: #1046 - No database selected