Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    2

    Default User priv. and MySQL Admin

    Hi, I need to know if its possible to login to a cpanel's mysql with mysql administrator and have admin right, eg. I could create users or new tables/schemata

    Thanks!

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    469

    Default

    Login to your cPanel

    Depending on the theme you are using, find heading Databases there is a link MySQL Databases. Click on it and follow the simple form to create a data base.

    Once you have created a data base proceed to add a user by creating a username and password.

    Then when you have created a user select the database from the drop box and assign that user to the database.

    You can create other users for the same data base if required.

    After you have created all this and it is seen to be ok, down at the bottom of the form there is alink to phpMyAdmin.

    Click on it and you can then select the database and perform all the required fuction and commands to populate and administer your database.


  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    2

    Default sorry

    Sorry, I must have explained it poorly,
    I've created a user and a table, but what I'm trying to do is log in with MySQL Administrator, a stand alone cient, and creat tables. When I try it says I do not have permission to do so.
    The problem is with the account privileges, I'm not allowed to creat tables with the user I created. I can do all of this with the mysql server I installed on my pc, but I am unable to set account privileges with the cpanel mysql interface.

    The reason I need to be able to do this is I am copying a database from another mysql server, I can make backups and restore them on any mysql server I have privileges to do so on, But I cannot set them with the cpanel interface.

  4. #4
    Member
    Join Date
    Feb 2004
    Posts
    469

    Default

    The last explanation was much clearer, thanks.

    You can save your original database data and import that data using cPanel's phpMyAdmin.

    Create a new database with all the same names and users etc in cPanel.
    Then in phpMyAdmin import the saved originaldbdata.sql file into your data base.

    Edit - Just to add, in cPanel database environment the database name is appended with the cPanel username:
    cPanelusername_dbname
    and the same for the database username it is likewise appended:
    cPanelusername_dbusername

    The password is not affected and will be as you set it.

    You may have to edit your originaldb.sql to reflect this behaviour.
    HTH.

    Last edited by Izzee; 01-04-2006 at 10:40 PM. Reason: Added more info.

Similar Threads & Tags
Similar threads

  1. user admin
    By Mexside in forum Discusión en Español
    Replies: 1
    Last Post: 04-12-2011, 11:14 PM
  2. admin user
    By jgaffney in forum New User Questions
    Replies: 1
    Last Post: 03-03-2008, 10:55 PM
  3. cpaddons not adding user with priv
    By asmithjr in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-21-2008, 01:09 PM
  4. reseller / Priv's wont stay after saved
    By aceslady06 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-13-2007, 03:20 AM
  5. MySQL User Account Priv
    By TechnoGecko in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-26-2006, 07:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube