Category Scripts

howto move mysql freebsd without dump

to move mysql on freebsd without using a dump file follow these steps: stop mysql copy /var/db/mysql to its new location chown -R mysql:mysql modify and add line mysql_dbdir=”“ modify and change mysql_dbdir=”/var/db/mysql” to the new location of…

rename mysql schema

How can you rename a mysql Schema? easy! Create the new schema In this example the new schema is called my_new_schema mysqladmin -u root -p create my_new_schema Dump the old schema and pipe in to new schema mysqldump -u root…