Fulltext results:
- Android Backup @info:android
- t the current date in the filename: <code bash> adb backup -apk -shared -all -f $(date '+%Y-%m-%d').db </code> If you are havong problems with the connection ("adb: unable to connect for backup"), check the listing of connected devices: <code bash> adb devices </code> Which may result in a listing li
- MySQL: Backup @info:mysql:database
- # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Databases individually... } -p${PASS} mysql --execute='show databases') for db in ${DATABASES} do mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} > ${DB}_${DATE_YMD}.sql & bzip2 ${DB}_${DATE
- Oracle: SPFile and PFiles @info:oracle
- MMEDIATE; </code> If your PFile is located at ''/db/oracle/config/pfiles/initweb.ora'', the the secon... ine would be: <code sql> STARTUP NOMOUNT PFILE='/db/oracle/config/pfiles/initweb.ora' </code> ===== ... ameters ===== ==== Flash Recovery Area ==== === DB_RECOVERY_FILE_DEST_SIZE === The parameter ''DB_RECOVERY_FILE_DEST_SIZE'' specifies the size of the f
- MySQL: Create User @info:mysql:user
- and Database ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER '{user}'@'%' IDENTIFIE... _CONNECTIONS 0 ; CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> Simpler Alternative: <code sql> CR
- MySQL: Create Database @info:mysql:database
- ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; </code> ==== Create Database and Grant Rights... ==== <code sql> CREATE DATABASE IF NOT EXISTS `{db}`; GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin database mysql sql}}
- MySQL: Remove User @info:mysql:user
- e User and Database ==== * Usually, {user} == {db} <code sql> DROP USER '{user}'@'%'; DROP DATABASE '{db}'; </code> {{tag>admin database mysql sql}}
- MySQL: Revoke Permissions @info:mysql:permissions
- ssions ==== <code sql> REVOKE ALL PRIVILEGES ON `{db}` . * FROM '{user}'@'%'; </code> {{tag>admin dat
- MySQL: Grant Permissions @info:mysql:permissions
- issions ==== <code sql> GRANT ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> {{tag>admin datab
- MySQL: Remove Database @info:mysql:database
- ve Database ==== <code sql> DROP DATABASE IF EXISTS `{db}`; </code> {{tag>admin database mysql sql}}
- fstyp @info:solaris
- 0xfffffc00 frag 8 shift 3 fsbtodb 1 minfree 1% maxbpg 2048 optim time ma