I was trying to change my client username using this command
But when i executed the command it shows
And now the database user has become -1
what should I have to do to restore it ?
Do I need to edit the change_database_username.php ,but what values should I put it ?
Thanks
Code:
cd /usr/local/directadmin/scripts
./change_username.sh olduser newuser
But when i executed the command it shows
Code:
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /usr/local/directadmin/scripts/change_database_username.php on line 46
Warning: preg_replace(): No ending delimiter '_' found in /usr/local/directadmin/scripts/change_database_username.php on line 78
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /usr/local/directadmin/scripts/change_database_username.php on line 81
Warning: preg_replace(): No ending delimiter '_' found in /usr/local/directadmin/scripts/change_database_username.php on line 84
Starting MySQL SUCCESS!
And now the database user has become -1
what should I have to do to restore it ?
Do I need to edit the change_database_username.php ,but what values should I put it ?
Thanks