This snippet will connect to your MySQL database: Check for connection errors: Select database table and display all the results: Checking the number of rows: Insert a new record: Checking the number of affected rows: Escape special characters in a Continue reading PHP :: MySQL Connection
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) ?
If you want to use Mysql client in a Mac without installing Mysql Server, just do the following: 1) Install MySqlWorkbench https://www.mysql.com/products/workbench/ 2) Run the following command in terminal _ What others are reading:Mac:: How to install the macOS Big Continue reading MacOS – Install mysql client without the server
If you have a directory with a bunch of .sql files that mysql dumps of each database on my server. e.g. database1-2011-01-15.sql database2-2011-01-15.sql … To import all to the db we can: What others are reading:How to re-sync the MySQL Continue reading Linux – Import Multiple .sql dump files into mysql database