Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| { | |
| config, | |
| pkgs, | |
| options, | |
| ... | |
| }: let | |
| hostname = "oatman-pc"; # to alllow per-machine config | |
| in { | |
| networking.hostName = hostname; |
| #! /usr/bin/env bash | |
| # Skip all of this if we don't have a TTY | |
| tty -s || return 0 | |
| # Colors + \[...\] wrapping to ensure there's no odd wrapping on command line | |
| C_OFF="\[$(tput sgr0)\]" | |
| C_BOLD="\[$(tput bold)\]" | |
| C_BLACK="\[$(tput setaf 0)\]" | |
| C_RED="\[$(tput setaf 1)\]" |