Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vms:webdev:mysql [2014/11/03 16:33]
admin [Restart MySQL]
vms:webdev:mysql [2014/11/03 18:09] (current)
admin [Restart MySQL]
Line 96: Line 96:
 > sudo service mysql start > sudo service mysql start
 </​code>​ </​code>​
 +
 +=== Delete backup files ===
 +
 +Now, if all is running well, we can get rid of the backup files we initially created. In case of necessity, those files are, in fact, still present on the virtual machine'​s hard disk, unmounting the shared folder would reveal them.
 +
 +<​code>​
 +> sudo rm -r /​var/​lib/​mysql.bak
 +</​code>  ​
  
 ----- -----
Line 103: Line 111:
 Even though your database files will, from now on, be stored on your host filesystem, you might find it easier to use an integrated tool to manage the different aspects of your MySQL configuration (i.e. mainly users and tables management). This could be done using [[http://​www.phpmyadmin.net|PhpMyAdmin]],​ that could be deployed inside a dedicated virtual host. Even though your database files will, from now on, be stored on your host filesystem, you might find it easier to use an integrated tool to manage the different aspects of your MySQL configuration (i.e. mainly users and tables management). This could be done using [[http://​www.phpmyadmin.net|PhpMyAdmin]],​ that could be deployed inside a dedicated virtual host.
  
-Although, my personal advise is to use the more versatile [[http://​dev.mysql.com/​downloads/​tools/​workbench/​|MySQL Workbench]] application...+Although, my personal advise is to use the more versatile [[http://​dev.mysql.com/​downloads/​tools/​workbench/​|MySQL Workbench]] application. ​The primary reason being that this one will allow you to manage not only your local development databases, but also your remote production servers, all from the same interfaceUsing ssh tunneling, you won't even have to allow external MySQL connections on your production machines.