Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    Sydney
    Posts
    211

    Default Renaming MySQL database

    Our users are unable to rename their SQL databases using phpMyAdmin.
    I tried via CLI as a user (not root) and it fails also. (permission denied)
    If I do it for the user, using the root phpMyAdmin account all is fine.

    Is this a feature, bug, only happening for me?

    Any pointers?

  2. #2
    Member
    Join Date
    Oct 2004
    Posts
    11

    Default

    Hello.

    I hate to be digging this thread, but i encounter the same issue for many customers (if not all of them).
    It seems that, by using "rename", phpmyadmin/sql will attempt to do a "create", then a "export/import". This just inst possible with CPanel's configuration, where no matter what user you add to the databases and what privilegies are given, phpmyadmin will still connect only as "cpaneluser@localhost" instead of "cpaneluser_DBuser@localhost". This prevents users from creating or renaming a database via phpmyadmin, and just there isn't other possibility of renaming a database besides a manual "create", "export" then "import"..

    We're using MySQL 5.0.27-standard and phpMyAdmin - 2.9.0.2

    Any tips?
    Last edited by Immortal; 06-10-2007 at 01:52 PM.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 01-17-2011, 12:42 PM
  2. Replies: 2
    Last Post: 06-22-2009, 08:30 AM
  3. Renaming a SQL Database.
    By moFBush in forum Database Discussions
    Replies: 1
    Last Post: 04-27-2006, 02:30 AM
  4. Renaming a SQL Database.
    By moFBush in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-27-2006, 02:30 AM
  5. Why is a backslash added to Db field of db table of the mysql database of MySQL?
    By PondRicefied in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-14-2005, 01:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube