Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Dec 2005
    Posts
    48

    Default Moving DB

    Alright, I was wondering how I would go about moving a MySQL database to another user.
    http://aargaming.com [Affordable and reliable game server hosting]
    http://aarhosting.com [Affordable and reliable web hosting]

  2. #2
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by FeeReD
    Alright, I was wondering how I would go about moving a MySQL database to another user.
    grant the appropriate privileges to the other user and delete or revoke the current user assigned to the database if the current user no longer access to the database in question.

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  3. #3
    Member
    Join Date
    Dec 2005
    Posts
    48

    Default

    How would I go about changing privileges for the users?
    http://aargaming.com [Affordable and reliable game server hosting]
    http://aarhosting.com [Affordable and reliable web hosting]

  4. #4
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by FeeReD
    How would I go about changing privileges for the users?
    this should explain it very well http://dev.mysql.com/doc/refman/4.1/...ge-system.html

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  5. #5
    Member
    Join Date
    Dec 2005
    Posts
    48

    Default

    That basically explains the structure of MySQL and how it works. I didn't see anything about moving the database to a whole new account.
    http://aargaming.com [Affordable and reliable game server hosting]
    http://aarhosting.com [Affordable and reliable web hosting]

  6. #6
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by FeeReD
    That basically explains the structure of MySQL and how it works. I didn't see anything about moving the database to a whole new account.

    it explains how to setup your user privileges. the actual database is just a directory within the /var/lib/mysql folder. If you want to move the entire database to a different location, this involve reconfiguring MySQL. from your post, you said you wanted to assign a new user to this database. So assigning the new user the appropriate privileges to this database, would allow them access to it.

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  7. #7
    Member
    Join Date
    Dec 2005
    Posts
    48

    Default

    My bad, that I did. I ment a whole new linux account.

    I'll see what I can do, thanks
    http://aargaming.com [Affordable and reliable game server hosting]
    http://aarhosting.com [Affordable and reliable web hosting]

  8. #8
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by FeeReD
    My bad, that I did. I ment a whole new linux account.

    I'll see what I can do, thanks
    you could use the mysqldump utility to dump the database then set it up to the new location.

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

Similar Threads & Tags
Similar threads

  1. moving to a new host
    By bou3lam in forum New User Questions
    Replies: 3
    Last Post: 10-02-2009, 01:40 PM
  2. Moving to a New Server
    By csb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-12-2009, 12:18 PM
  3. Moving a reseller
    By Data 1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-07-2008, 04:35 PM
  4. Moving On
    By mo_heywood in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-18-2003, 11:30 PM
  5. Moving to another Datacenter
    By netarus in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-03-2003, 09:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube