If you want to disable messages (texts, messages, iMessages) on your Mac (but leave them going on your phone, etc) you can turn that feature off. Just follow these steps...
Open the Messages app on your Mac. Choose Settings (Preferences on older systems) from the Messages menu. Click on the iMessage tab. Where you see your Apple ID information, click on "Sign Out". Close the Settings window and quit Messages.
Other iCloud services should continue but messages won't be received on the Mac.
Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 32
Warning: mysqli_connect(): Error while reading greeting packet. PID=85727 in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 32
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 32
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 33
Could not connect to MySQL: