Richard G
Verified User
I tried to move several databases between users as described here:
http://help.directadmin.com/item.php?id=224
The user has put some xxx characters in his database name, and during the move I get an error notice of 1 of his databases:
This should have to do with the "-" bug I described before.
Because in /var/lib/mysql there is a database called user_xxx@002dnl present
How can I best move this last database to my admin user?
And at the same time I would like to suggest to change or adjust the script so this problem can not be an item anymore.
As it has to do with this:
http://www.directadmin.com/forum/showthread.php?t=43616
http://help.directadmin.com/item.php?id=224
The user has put some xxx characters in his database name, and during the move I get an error notice of 1 of his databases:
PHP Warning: rename(/var/lib/mysql/user_xxx-nl,/var/lib/mysql/admin_xxx-nl): No such file or directory in /usr/local/directadmin/scripts/change_database_username.php on line 117
Error renaming /var/lib/mysql/user_xxx-nl to /var/lib/mysql/admin_xxx-nl
This should have to do with the "-" bug I described before.
Because in /var/lib/mysql there is a database called user_xxx@002dnl present
How can I best move this last database to my admin user?
And at the same time I would like to suggest to change or adjust the script so this problem can not be an item anymore.
As it has to do with this:
http://www.directadmin.com/forum/showthread.php?t=43616