Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : kuro80 30 Dec 2011, 00:19:41
-
salve cerco di importare un database su un my sql vuoto e mi da il seguente errore:
Query SQL:
-- phpMyAdmin SQL Dump
-- version 2.8.2.4
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generato il: 29 Dic, 2011 at 10:33 PM
-- Versione MySQL: 5.1.48
-- Versione PHP: 5.2.6
--
-- Database: `politarghe`
--
CREATE DATABASE `politarghe` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Messaggio di MySQL: (http://mysql.aruba.it/phpMyAdmin-5/themes/original/img/b_help.png) (http://mysql.aruba.it/phpMyAdmin-5/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.0%2Fen%2Ferror-messages-server.html&token=5c1d3ed13b443d92cf0d75abf7a90451&phpMyAdmin=4rjicgbs8bvc48v811ea32r6vt78a0k9)
#1044 - Access denied for user 'Sql470201'@'%' to database 'politarghe'
che significa??
-
Ciao
Sarà pure vuoto ma avrà nome e dati di accesso diversi, cancella dal file sql ogni riferimento a nome e quant'altro si riferisce ai dati di accesso, questi dati sono presenti nelle prime righe del file sql.
-
si trova in queste righe?
- Struttura della tabella `_josaddress`
--
CREATE TABLE `_josaddress` (
`address_id` int(11) NOT NULL AUTO_INCREMENT,
`customer_id` int(11) NOT NULL,
`firstname` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
`lastname` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
`company` varchar(32) COLLATE utf8_bin NOT NULL,
`address_1` varchar(128) COLLATE utf8_bin NOT NULL,
`address_2` varchar(128) COLLATE utf8_bin NOT NULL,
`city` varchar(128) COLLATE utf8_bin NOT NULL,
`postcode` varchar(10) COLLATE utf8_bin NOT NULL,
`country_id` int(11) NOT NULL DEFAULT '0',
`zone_id` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`address_id`),
KEY `customer_id` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=1 ;
--
-- Dump dei dati per la tabella `_josaddress`
-
CREATE DATABASE `politarghe` DEFAULT CHARACTER SET utf8 COLLATE
utf8_general_ci;
E' questa la riga da eliminare se già hai un db non serve ricrearlo.
-
non funziona:
Errore Query SQL:
-- phpMyAdmin SQL Dump
-- version 2.8.2.4
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generato il: 30 Dic, 2011 at 10:06 AM
-- Versione MySQL: 5.1.48
-- Versione PHP: 5.2.6
--
-- Database: `politarghe`
--
USE `politarghe` ;
Messaggio di MySQL: (http://mysql.aruba.it/phpMyAdmin-5/themes/original/img/b_help.png) (http://mysql.aruba.it/phpMyAdmin-5/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.0%2Fen%2Ferror-messages-server.html&token=9826e9a20e397032be5b3644b4f45056&phpMyAdmin=oqsqea6v6n85gd705nm1n30dvkjmp28h)
#1044 - Access denied for user 'Sql470201'@'%' to database 'politarghe'
-
non ci capisco piu nulla, il database l'ho importato ho cambiato i parametri cnel config.php ed ecco il risultato:
Warning: require_once(http//:www.scoglittiweb.it/politarghe/system/startup.php) [function.require-once (http://www.scoglittiweb.it/politarghe/function.require-once)]: failed to open stream: No such file or directory in /web/htdocs/www.scoglittiweb.it/home/politarghe/index.php on line 15
Fatal error: require_once() [function.require (http://www.scoglittiweb.it/politarghe/function.require)]: Failed opening required 'http//:www.scoglittiweb.it/politarghe/system/startup.php' (include_path='.:/php_5.2.17/lib/php') in /web/htdocs/www.scoglittiweb.it/home/politarghe/index.php on line 15
noto una cosa pero, io sul mio sito non ho una sottocartella "home" il link esatto dovrebbe essere www.scoglittiweb.it/politarghe