User Tools

Site Tools


wiki:rename_mysql_database

Rename mysql database

mysqladmin -u username -p create newdatabase
mysqldump -u username -v olddatabase -p | mysql -u username -p -D newdatabase

Tested on

See also

References

wiki/rename_mysql_database.txt · Last modified: 2022/10/29 13:31 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki