How to re-sync the MySQL DB if Master and Slave (replication) ?

This is the full step-by-step procedure to resync a master-slave replication from scratch: At the master: And copy the values of the result of the last command somewhere. Without closing the connection to the client (because it would release the read lock) Continue reading How to re-sync the MySQL DB if Master and Slave (replication) ?

MacOS – Install command line tools without xcode

If you want (need) to install command line tools in MacOS and do not want to install the full xCode: 1 – Launch the Terminal 2 – Run the following command The installation will be in /Library/Developer/CommandLineTools/ and will have Continue reading MacOS – Install command line tools without xcode