how to change username

befree33

Verified User
Joined
Feb 5, 2013
Messages
28
I have 2 related questions I'd like some help with.

1. Could someone help me change my username from "oldusername" to "newusername" please?

I have no idea how to do it per DirectAdmin.com http://help.directadmin.com/item.php?id=193

I have no idea WHERE to place that command or how to use the web browser to access that command's interface. I know nothing about these commands.

2. I have Wordpress sites on my vps which tech support setup for me (paid support). I asked them to change the username but they sent me the above link instead.

When I change the username on DirectAdmin, will ALL instances of it change? For example, under MySQL Management, each database name begins with the username. For example, oldusername_nameofdb. I'd like to know if database names in MySQL Management will also change to newusername_nameofdb when the command at http://help.directadmin.com/item.php?id=193 is used.
 
Hi befree33,

Those commands are run from an SSH session so you would need shell access to the server and you would also need root access to issue those commands. Looking at the script on my own server it looks like it will change everything to the new username for DA but according to a comment in that change_username.sh script there is a change_database_username.php that you might need to run for the database. I honestly haven't had this issue come up yet ::knock on wood:: so I'm not entirely sure what the change_database_username.php script will accomplish or do but either way you will need shell and root access to run the change_username.sh file. Hope this helped.
 
Back
Top