Fulltext results:
- MySQL: Backup @info:mysql:database
- ====== MySQL: Backup ====== ===== Export a Database ===== <code bash> # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB}... nd $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases') for db in ${DATABASES} do mysqld
- init @info:linux:debian
- init Scripts ===== To activate an init script ("myscript"): update-rc.d myscript enable To deactivate an init script ("myscript"): update-rc.d myscript remove Further information can be found at [[http://wiki.debian.org
- Command Line Tools Used in My Scripts @info:script
- ====== Command Line Tools Used in My Scripts ====== This is a list of comman dline tools which I use in my scripts an which should be installed on every of my systems. Basic tools (e.g. awk, find, grep, ps) w
- DynDNS Updates without a Client @info:script
- ====== DynDNS Updates without a Client ====== My new hosting provide Strato offers DynDNS. I was searching for a DynDNS client for my OpenSolaris Home Server, but a small bash script ... et you know in an update. This script is part of my scripts collection, so you can find the latest ve
- MySQL: Change Password @info:mysql:user
- ====== MySQL: Change Password ====== * Replace ''{passwd}'' with the password of the user. * Repl... ternatively use the following: <code sql> UPDATE mysql.user SET Password=PASSWORD('{passwd}') WHERE User='{user}'; FLUSH PRIVILEGES; </code> {{tag>admin database mysql password sql}}
- Make your Mac feel at Home @info:mac
- feel at Home ====== A small snippet from one of my scripts which tests whether your Mac is in the gi... Set this to your Home WLAN SSID (name): HOMESSID="mycastle" # # Get SSID info from 'airport' and searc
- MySQL: Remove User @info:mysql:user
- ====== MySQL: Remove User ====== ==== Remove User ==== <code sql> DROP USER '{user}'@'%'; </code> =... b} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
- Cleanup Packages @info:linux:debian
- Try to report documentation packages. --guess-dummy Try to report dummy packages. --guess-kernel Try to report kernel modules.
- MySQL: Create Database @info:mysql:database
- ====== MySQL: Create Database ====== ==== Create Database ==== <code sql> CREATE DATABASE IF NOT EXI... `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- MySQL: Remove Database @info:mysql:database
- ====== MySQL: Remove Database ====== ==== Remove Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}
- MySQL: Grant Permissions @info:mysql:permissions
- ====== MySQL: Grant Permissions ====== ==== Grant Permissions ==== <code sql> GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- MySQL: View Permissions @info:mysql:permissions
- ====== MySQL: View Permissions ====== ==== View Permissions ==== <code sql> SHOW PRIVILEGES; SHOW GRANTS FOR '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- MySQL: Revoke Permissions @info:mysql:permissions
- ====== MySQL: Revoke Permissions ====== ==== Revoke Permissions ==== <code sql> REVOKE ALL PRIVILEGES ON `{db}` . * FROM '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- MySQL: Create User @info:mysql:user
- ====== MySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIE... L ON `dbname`.* TO 'dbuser'@'dbhost' IDENTIFIED BY 'dbpass'; </code> {{tag>admin database mysql sql}}
- Notes for the Solaris 10 System Administration Exam (CX-310-200 & -202) @info:solaris
- on Exam (CX-310-200 & -202) ====== I'm preparing myself for the two exams to achieve the [[http://www... em Administrator (SCSA)]] certification. This are my notes taken while studying the preparation books.