web hosting line
1.866.605.2484

Web hosting

Go Back   Web Hosting Forum - Web hosting discussion at SiteGround.com > Popular Software > Mambo and Joomla Forum

Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2005, 09:35 PM
carlosolares carlosolares is offline
Junior Member
 
Join Date: Oct 2005
Posts: 1
Default Importing datebase from a local mambo install

when importing a datebase from a local site i get a phpmyadmin error

MySQL said:

Error
SQL query:

-- phpMyAdmin SQL Dump
-- version 2.6.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 14, 2005 at 06:19 PM
-- Server version: 4.1.10
-- PHP Version: 5.0.3
--
-- Database: `futbol`
--
CREATE DATABASE `futbol` DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci
MySQL said:

#1044 - Access denied for user 'alza'@'localhost' to database 'futbol'

if anyone has a clue a would thankfu
Reply With Quote
  #2  
Old 10-18-2005, 08:12 AM
Bill Bill is offline
Senior Member
 
Join Date: Sep 2005
Posts: 181
Default Database import issue

Hello,

This error appears because you are trying to import the database dump directly from the phpMyAdmin, expecting that it will create the database needed.

Unfortunately, this does not work quite so. You will first need to go to the cPanel - MySQL Databases and to create a database there. Then you need to create an user and add it to the database. Once you do that, you can launch the phpMyAdmin tool and you need to select the database you want from the dropdown menu.

Importing the dump will work this way, provided that the dump is not corrupted.

Regards,

Bill
SiteGround Support Team
Reply With Quote
  #3  
Old 01-04-2006, 11:52 AM
copycatz copycatz is offline
Junior Member
 
Join Date: Jan 2006
Posts: 2
Default Database import issue

Hello

I have developed my website with Joomla on my local PC, and now I try to export it to SiteGround
For the moment, it doesn't work!
It says: "This site is temporarily unavailable. Please notify the System Administrator"
Ideas of what is going wrong? configuration.php? SQL Database?

- Configuration.php:
Could you please tell me what are the followings in configuration.php:
config_host = siteground5.com ?
config_db = Do the databases all look like "name_name"?

so in configuration.php, for config_db, do I have to put "name" or "name_name"?

- SQL Database:
I have the following error message:
INSERT INTO `jos_gm_groupe` ( `id_groupe` , `nom_groupe` , `description_groupe` , `access_groupe` )
VALUES ( 1, '**Membre**', 'Tous les utilisateurs membres = Groupe Joomla "Registered".', 1 )
#1062 - Duplicate entry '1' for key 1

Do you know what is going wrong?

Thank you a lot for your help, I have turned the problem all around without any solution...
Joachim
Reply With Quote
  #4  
Old 01-05-2006, 10:37 AM
Tom's Avatar
Tom Tom is offline
SiteGround Team Member
 
Join Date: Jun 2005
Posts: 178
Default

Quote:
config_host = siteground5.com ?
config_host = 'localhost';

Quote:
config_db = Do the databases all look like "name_name"?

It is alwayw like 'name_name' where name1 = your username and name2 = your db name cPanel works that way

Quote:
INSERT INTO `jos_gm_groupe` ( `id_groupe` , `nom_groupe` , `description_groupe` , `access_groupe` )
VALUES ( 1, '**Membre**', 'Tous les utilisateurs membres = Groupe Joomla "Registered".', 1 )
#1062 - Duplicate entry '1' for key 1

I suppose something is wrong with teh SQL exported db file. It can be imported (most probably) but some raw should be escaped. Here is what I can say for sure:

When exporting a DB, click on the preferences that escape all the characters, also add the drop table if exists variables.

You can contact our tech support too, they will most probably be able to import the DB for you server side
Reply With Quote
  #5  
Old 01-05-2006, 12:34 PM
copycatz copycatz is offline
Junior Member
 
Join Date: Jan 2006
Posts: 2
Default DB imported

Thanks for your help
It still doesn't work
I'll contact tech support
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:49 PM.

Copyright © SiteGround.com Inc