Results 1 to 2 of 2

Thread: Help with MySQL

  1. #1
    Join Date
    Feb 2007
    Posts
    1

    Default Help with MySQL

    Hi,
    I am new to SiteGround and am trying to move the Joomla based website I have on my local server moved to my SiteGround new account.....however after uploading all the Joomla site files using FTP as instructed, I am having a hard time importing the JoomlaDB (MySQL Database) from the BackUp...after I create a new Joomladb form the CPanel and create a new user and add it to the New Database....I go to the phpMyAdmin to import the Database Dump ...however, I get access denied for the new user I just created in CPanel (#1044 - Access denied for user '(my account name appears here and not the new user account!!)'@'localhost' to database 'joomladb' ) !!!
    When I go to phpMyAdmin Home, I can see on the Create New Database...No Privilages!!! I tried to create a user account with the same name as my login, but it keeps adding the domainname_ prefix to any new account I create!!!!
    Thanks in advance for you help.

  2. #2

    Default

    Hi Abed,

    This is a common issue, that you are experiencing. Since the phpMyAdmin that we run on our servers is integrated with the cPanel it can not work separated from it. I.e. -- you can consider the phpMyAdmin more as a tool for exploring, managing (in aspect of content, collation, etc.) your databases, but not for creating.

    The MySQL databases creation is being done from your cPanel, under the MySQL databases menu. There you have options to create, delete and repair your MySQL databases, to add users with certain, limited or ALL privileges.

    There you can create a database using the Create Db tool, but note hat if your cPanel username is abed, for example, and you create a database named forum, the database name will be abed_forum. The same goes with the users, if you create a username named user, it will be created under abed_user, as this is the cPanel hierarchy method for separating and guaranteeing iniquity of the MySQL databases on a shared hosting server.

    Then you can go to your phpMyAdmin and import your dump, however, prior doing this, make sure that the heading row named "CREATE DATABASE yourdbname" is removed, as this will stop the phpMyAdmin from operating properly.

Similar Threads

  1. MySQL log
    By medved45 in forum Hosting Related Questions
    Replies: 2
    Last Post: 05-26-2008, 04:15 AM
  2. When will we get PHP 5 and MySQL 5?
    By thebizn in forum Customers' experience and suggestions
    Replies: 4
    Last Post: 03-13-2007, 08:54 AM
  3. PHP MySQL Help
    By Ratnavi in forum Hosting Related Questions
    Replies: 1
    Last Post: 09-19-2005, 10:40 AM
  4. MySQL question
    By Rykkers in forum Hosting Related Questions
    Replies: 2
    Last Post: 08-09-2005, 07:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •