Alright, I was wondering how I would go about moving a MySQL database to another user.
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]
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.Originally Posted by FeeReD
Mickalo
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
Custom Perl and Database Programming
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]
this should explain it very well http://dev.mysql.com/doc/refman/4.1/...ge-system.htmlOriginally Posted by FeeReD
Mickalo
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
Custom Perl and Database Programming
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]
Originally Posted by FeeReD
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
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]
you could use the mysqldump utility to dump the database then set it up to the new location.Originally Posted by FeeReD
Mickalo
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
Custom Perl and Database Programming